your regexp looks for the beginning of the line followed by a digit... the one above looks for anything anywhere that is a NON-digit.if ( $my_dat =~ /[^0-9]/ ) { # code here to handle the non-digits
In reply to Re: Question on pattern matching
by Transient
in thread Question on pattern matching
by Joe_Cullity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |