----- Original Message -----
From: "Shawn" <[EMAIL PROTECTED]>

> >     $searchstring =~ /[a-z0-9]/i;
>
> Why slow it down with the 'i'?
>   $searchstring=~/[a-zA-Z0-9]/;

The original poster says at least 1 letter or number ...... " i want
something like..if $searchstring has at least 1 letter or number {
commands... }";

Therefore it should be $searchstring=~/[a-zA-Z0-9]+/;




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to