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

Re^3: regular expression help

by ikegami (Pope)
on Jun 03, 2009 at 20:30 UTC ( #768154=note: print w/ replies, xml ) Need Help??

in reply to Re^2: regular expression help
in thread regular expression help

However, the capturing parentheses are not going to capture everything this way.

That's why I didn't recommend it. Perl's match operator can match extremely complex expressions (the initial purpose of regular expressions) and it can extract data from strings, but it's not so good at doing both at once. (At least not before 5.10. 5.10 added a bunch of tools that might help.)

Comment on Re^3: regular expression help

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-10-14 03:01 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (320 votes), past polls