Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 exploiting the Monastery: (12)
As of 2014-10-23 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls