Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Regex to check for very large negative numbers

by BillKSmith (Priest)
on Feb 21, 2013 at 23:01 UTC ( #1020018=note: print w/replies, xml ) Need Help??


in reply to Regex to check for very large negative numbers

I recommend a regex that tests for a valid pattern (as defined by your device documentation) anchored at the start of the string. (e.g. /^-?\d{5,}\.\d*/)

Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020018]
help
Chatterbox?
[erix]: perhaps try: Databases made easy

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-03-28 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.