Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 wandering the Monastery: (6)
As of 2015-07-06 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls