Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 taking refuge in the Monastery: (8)
As of 2016-12-07 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (132 votes). Check out past polls.