OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Using '/' in a regex rule just as a reg character

From: Adam D (emlistsgmail.com)
Date: Thu Oct 26 2006 - 18:16:53 CDT


I have been trying to use the regex '/' in a body check as a reg character but it just does not get noticed.

example:
want to block 'abc/xyz' as a whole

/^abc[[:punct:]]xyz/
                DISCARD xyz

But the '/' is not included and I have tried many other ways to single it out including escaping it and each just ignores the '/'. I have tried (\/|[\]|"\") which does not work either.

How can I have my expression include the '/'

Thanks

-Adam