Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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

Replies are listed 'Best First'.
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 cooling their heels in the Monastery: (12)
As of 2016-08-31 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (433 votes). Check out past polls.