Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: only want numerics in field

by Limbic~Region (Chancellor)
on Apr 21, 2014 at 16:09 UTC ( [id://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