Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: RegEx to match unique string of digitsby lodin (Hermit) |
on Jun 05, 2009 at 03:23 UTC ( [id://768654]=note: print w/replies, xml ) | Need Help?? |
GrandFather's suggestion of filter out the false matches afterwards is probably sufficient for you, and perhaps also more efficient (but do a Benchmark to be certain if time efficiency is an issue). However, maybe you need this in a larger pattern, and then you can use a negative look-ahead to avoid the mono-digit strings.
lodin
In Section
Seekers of Perl Wisdom
|
|