http://qs321.pair.com?node_id=667556


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