Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2015-07-28 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls