Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by igelkott (Curate)
on Feb 22, 2013 at 10:13 UTC ( #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.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-07-01 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.