Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Replace newlines only if not inside braces

by LanX (Chancellor)
on Feb 11, 2013 at 14:35 UTC ( #1018153=note: print w/replies, xml ) Need Help??


in reply to Re: Replace newlines only if not inside braces
in thread Replace newlines only if not inside braces

Works! =)

But it took me some time to understand why all edgecases are covered, though I'm pretty sure that I already saw this technique before.

Cheers Rolf

  • Comment on Re^2: Replace newlines only if not inside braces

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018153]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-02-27 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (378 votes). Check out past polls.