Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2018-03-20 23:50 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (262 votes). Check out past polls.