Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: only want numerics in field

by Limbic~Region (Chancellor)
on Apr 21, 2014 at 16:09 UTC ( #1083037=note: print w/ replies, xml ) Need Help??


in reply to Re: only want numerics in field
in thread only want numerics in field

bigj,
Your regex will indicate that .25 is not a number. You also require a leading sign [+-]. I realize that defintion of "what is numeric" is sorely lacking by the OP but I wanted to point this out to anyone who may come along later.

Cheers - L~R


Comment on Re^2: only want numerics in field
Select or Download Code
Re^3: only want numerics in field
by bigj (Monk) on Apr 21, 2014 at 16:37 UTC
    Just one more reason to not reinvent the wheel :-) You're of course right.

    Greetings,
    Janek Schleicher

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-12-26 20:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (175 votes), past polls