in reply to Re^3: need help with a Regex
in thread need help with a Regex
foreach (<DATA>) { print $_ if $_ =~ /^(\?|-?\d*\.?\d+)?$/; } __DATA__ ? 3 3.3 .3 -3 -3.3 -.3 ? 3-3 -
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: need help with a Regex
by Limbic~Region (Chancellor) on Oct 07, 2004 at 12:16 UTC |