Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: regex grouping issue

by japhy (Canon)
on Aug 31, 2006 at 20:28 UTC ( #570676=note: print w/replies, xml ) Need Help??

in reply to Re^2: regex grouping issue
in thread regex grouping issue

The primary problem is that a character class is for characters, not sequences of characters. You can't use a character class to match any of a group of strings, and you can't use a negated character class to NOT match any of a group of strings.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2022-05-26 14:53 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (93 votes). Check out past polls.