if ( $long =~ /^([\-\+]?\d+[\.]?\d*)$/ ) { print "match\n"; } [download]
In reply to Re: Stupid regex question - numerics by ungalnanban in thread Stupid regex question - numerics by ultranerds