Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How can I find nested delimiters?

by Anonymous Monk
on Sep 02, 2000 at 23:01 UTC ( #30890=categorized answer: print w/replies, xml ) Need Help??

Q&A > regular expressions > How can I find nested delimiters? - Answer contributed by Anonymous Monk

$query = qq("SOME QUERY WITH "" (DOUBLE QUOTES)" YEEHA); $query =~ /"((?:[^"]|"")*)"(.*)/; print "dollar one =$1\n\ndollar two = $2\n\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2016-12-03 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.