Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: wanting a more explicit regex

by moritz (Cardinal)
on Feb 12, 2008 at 13:47 UTC ( #667556=note: print w/replies, xml ) Need Help??


in reply to wanting a more explicit regex

You can use an alternation: xy(?:z|1|z1)

If the list of possible alternations grows too large to list them explicitly, you have to tell us a bit more about your problem, perhaps there's a better, generic solution.

Replies are listed 'Best First'.
Re^2: wanting a more explicit regex
by wolfger (Deacon) on Feb 12, 2008 at 16:17 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-09-16 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?