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

Re: Double quotes within double quotes

by little_mistress (Monk)
on Apr 05, 2000 at 02:40 UTC ( [id://6895]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $text = "QUERY = \"SOME QUERY WITH \"\" (DOUBLE QUOTES)\" YEEHA";
    $text =~ m/^(.*)"+\s(\w+)$/g;
    print "dollar one =$1\n\ndollar two = $2\n\n";
    # $1 == QUERY = "SOME QUERY WITH "" (DOUBLE QUOTES)
    # $2 == YEEHA
    
  2. or download this
    $text =~ m/^(.*)?"+\s(\w+)?$/g;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found