A regex is *way* too big a tool for this job.
|
Here's your hint: think of a mathematical operator that might do what you want here. It's in perlop, under Multiplicative Operators.
In reply to Re: RE question...yup, another one ;)
by btrott
in thread RE question...yup, another one ;)
by snafu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |