> -Original Message-
> From: Teresa Raymond [mailto:[EMAIL PROTECTED]]
> Subject: regex excluding \w.\w\w\w.\w
>
> I'm trying to figure out how to exclude upload files with 2 periods
> at the end (b/c of that virus which I forgot the name of, maybe
> nimba
> if ($filename=~/(\w.\w\w\w.\w)$/)
This will match:
<3 word chars>
You need to escape the .
Jonathan Paton
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
T
I'm trying to figure out how to exclude upload files with 2 periods
at the end (b/c of that virus which I forgot the name of, maybe
nimba?) Anyhow, this is what I have but it doesn't work. When I try
to submit with the double periods the test always results in false
and never gives the error