> Um, no it doesn't... That regex only matches a single period. # It must only match the first one then; because: $_ = 3.14.15; print "$_ ", (/^ *[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)? *$/) ? print " Matched " : " no Match "; # Output: Matched 3.1415 1 __END__ Weird... But, if I qw/$_/; then I get 'no Match'... I'll study more! -Sneex- :] - FCCJ * 501 W State St * Jacksonville, Fl 32202 * 904/632-3089 - ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe