"be consistent" | |
PerlMonks |
Re: RE question...yup, another one ;)by btrott (Parson) |
on May 26, 2001 at 23:26 UTC ( [id://83532]=note: print w/replies, xml ) | Need Help?? |
Okay... well, since you don't want a direct answer, I will give
you an answer in a black box that you don't have to read, and
then I will give you a clue. 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 Section
Seekers of Perl Wisdom
|
|