Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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 (Priest) 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 studying the Monastery: (6)
As of 2016-02-13 09:36 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (423 votes), past polls