Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to insert a "/" within a string?

by oko1 (Deacon)
on Feb 22, 2012 at 00:58 UTC ( #955423=note: print w/replies, xml ) Need Help??


in reply to How to insert a "/" within a string?

Why can't you guys just give a nice straight answer, like this one?

s/(?<O>\103)(?<C>\117)/$+{O}\057$+{C}/g;

(This answer is just as serious as the ones before it, and the suggestions for appropriateness of usage still apply.)

-- 
I hate storms, but calms undermine my spirits.
 -- Bernard Moitessier, "The Long Way"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955423]
help
Chatterbox?
[1nickt]: stevieb it turns out that Dell still has the Precision line of "mobile workstations", just not displayed on their main website. I found the Precision 7710 with 4k display/full-size keybd as req'd.
[1nickt]: List $2,788 (!), on sale for $1766, also a $200 coupon on the site thru 3/30 ... final price $1,566. Includes 3-yr on-site service.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-03-27 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.