|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Regex to check for very large negative numbersby moritz (Cardinal) |
| on Feb 21, 2013 at 20:21 UTC ( #1020000=note: print w/ replies, xml ) | Need Help?? |
|
m/-\d{30,}\.\d*/ maybe? Though maybe you should really use the same regex for all the numbers, and then decides using a normal < comparison if the number is too small?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||