Problems? Is your data what you think it is? | |
PerlMonks |
Re: Need to match number other than 1by moritz (Cardinal) |
on Nov 29, 2007 at 10:28 UTC ( [id://653798]=note: print w/replies, xml ) | Need Help?? |
Note that this matches only non-negative integers, and 01 is matched as well (no idea if that's OK or not, spec is unclear). Note that you need some kind of anchoring (perhaps to a word boundary), but you don't necessarily need to anchor it to start and beginning of the string.
In Section
Seekers of Perl Wisdom
|
|