How about
print if !m/\.(gz)|(html)$/;

Dave


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 01 July 2003 13:20
To: [EMAIL PROTECTED]
Subject: Regex question


hi, i have this regex:

\.[^(gz|html)]$

this regex should match all files (lines) NOT ending with gz or html.
but this is not working. the lines ending with .gz are still found.
whats wrong with that?

THANKS A LOT :)

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

Reply via email to