zen0n has asked for the wisdom of the Perl Monks concerning the following question:
or some other equiv functionality :) Thanksmy $regex = "(^[1-3]|^yyy|^zzz)"; my @regexs = convert($regex); would create a list like $regexs[0] = "^1" $regexs[1] = "^2" $regexs[2] = "^3" $regexs[0] = "^yyy" $regexs[0] = "^zzz"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Break down a regex expression into single regex?
by planetscape (Chancellor) on Feb 27, 2010 at 18:41 UTC | |
|
Re: Break down a regex expression into single regex?
by ww (Archbishop) on Feb 27, 2010 at 18:41 UTC |