Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Regex to check for very large negative numbers

by moritz (Cardinal)
on Feb 21, 2013 at 20:21 UTC ( #1020000=note: print w/ replies, xml ) Need Help??


in reply to Regex to check for very large negative numbers

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?


Comment on Re: Regex to check for very large negative numbers
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020000]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-08-31 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (365 votes), past polls