Think about Loose Coupling | |
PerlMonks |
Re: wanting a more explicit regexby moritz (Cardinal) |
on Feb 12, 2008 at 13:47 UTC ( [id://667556]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|