Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: I just cannot figure out the greedy regex

by !1 (Hermit)
on Dec 16, 2003 at 07:34 UTC ( [id://315001]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: I just cannot figure out the greedy regex
in thread I just cannot figure out the greedy regex

And just to amend to the post by Roger that you might also want to remove quoted strings with newlines in them, lest you wish to end up with very strange results, with the following regex:

s/"(?:\\"|.)*?"//gs;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-19 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found