Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
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 lurking in the Monastery: (5)
As of 2020-12-05 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?