Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Parenthesis grouping into regexes.

by petdance (Parson)
on Apr 26, 2012 at 01:06 UTC ( #967210=note: print w/ replies, xml ) Need Help??

in reply to Parenthesis grouping into regexes.

This is a well-solved problem. Suggest you check out Regexp::Common.


Comment on Re: Parenthesis grouping into regexes.
Replies are listed 'Best First'.
Re^2: Parenthesis grouping into regexes.
by mbethke (Hermit) on Apr 26, 2012 at 06:31 UTC

    Regexp::Common doesn't support IPv6 addresses though. Regexp::IPv6 does, however it creates quite a monster just to match the third form from RFC 4291 section 2.2 (mixed hex/decimal) that I've never seen used anywhere. This is (supposedly, I haven't tested it) a much shorter version:

Re^2: Parenthesis grouping into regexes.
by aramisf (Sexton) on Apr 26, 2012 at 19:48 UTC
    Pretty nice library. Didn't know it.
    Very useful indeed.

    Thanks for the tip.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-11-26 23:21 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 (709 votes), past polls