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

Re: Regex Question

by didess (Sexton)
on Aug 28, 2008 at 20:53 UTC ( [id://707595]=note: print w/replies, xml ) Need Help??


in reply to Regex Question

Hello, If your RE aims : any text between a pair of double quotes (except double quotes, CR and LF), you should write it:
"[^"\r\n]*".
I'm not shure of the useness of CR and LF here. Anyhow, this RE will always match "string one" because this is the first match (from left to right). It will never match "string two" or " and ". Good answer ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found