Welcome to the Monastery | |
PerlMonks |
Re: Simple regex should match numberby Anonymous Monk |
on Feb 01, 2012 at 07:58 UTC ( [id://951142]=note: print w/replies, xml ) | Need Help?? |
Yup, it works in 5.14.1 but doesn't work in 5.12.2
What does work in 5.12.2 (and I assume 5.10) is adding a quantifier, say m/-?\p{Nd}{1}/
In Section
Seekers of Perl Wisdom
|
|