Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Replace only selected characters

by herveus (Parson)
on Oct 14, 2011 at 18:04 UTC ( #931565=note: print w/replies, xml ) Need Help??


in reply to Replace only selected characters

Howdy!

Instead of answering directly, I ask you to consider what the "g" and "i" flags do. Think carefully about everything your search expression actually says. Do the parts work together the way you want them to?

Try carefully applying your replace manually. Alternately, express more clearly what you are trying to accomplish with your replace.

yours,
Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://931565]
help
Chatterbox?
[SuicideJunkie]: Blergh. Trying to work into low level C code, stuff that would have been so easy with a regex.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2016-12-07 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.