Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020000]
help
Chatterbox?
[LanX]:  last hour of cb doesn't break
[LanX]: 12345678901234- 123456789012345678 901234567890123456 789012345678901234 567890123456789012 345678901234567890 123456789012345678 901234567890123456 789012345678901234 567890123456789012 345678901234567890 123456789012345678 901234567890123456 789012345678901234 567890

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2017-07-24 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (351 votes). Check out past polls.