Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Regex to check for very large negative numbers

by igelkott (Priest)
on Feb 22, 2013 at 10:13 UTC ( [id://1020122]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex to check for very large negative numbers
in thread Regex to check for very large negative numbers

Obviously good approach but wouldn't a regex be more appropriate in this case?

Whether it's moritz's negative check (as the OP requested) or BillKSmith's positive approach, it seems better to avoid interpretation of a huge number that won't be needed anyway.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found