Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: regular expression (blah blah blah)

by Anonymous Monk
on Jan 07, 2013 at 09:36 UTC ( #1011992=note: print w/ replies, xml ) Need Help??

in reply to Re^2: regular expression (blah blah blah)
in thread regular expression

Did you try to understand my regex pattern? YAPE::Regex::Explain? Put it in your regex, match up the quotes, delete your stuff, use my stuff

Comment on Re^3: regular expression (blah blah blah)
Replies are listed 'Best First'.
Re^4: regular expression (blah blah blah)
by frozenwithjoy (Curate) on Jan 07, 2013 at 09:44 UTC
    Although your suggestion makes the REGEX better, the primary problem is that $& contains the entire match, not the first subpattern ($1).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-11-30 10:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls