RE: regex excluding \w.\w\w\w.\w

2002-04-02 Thread Jason Larson
> -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

Re: regex excluding \w.\w\w\w.\w

2002-04-01 Thread Jonathan E. Paton
> 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

regex excluding \w.\w\w\w.\w

2002-04-01 Thread Teresa Raymond
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