Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: regex replacement help

by Cristoforo (Deacon)
on Mar 29, 2011 at 19:45 UTC( #896264=note: print w/replies, xml ) Need Help??


in reply to regex replacement help

As of perl 5.10, you could use: s/~\K/\n/g
(may be a trivial use of \K :-) )

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896264]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-08-30 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (410 votes). Check out past polls.