* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2003-09-18 18:51]: > Alex,
> I tried and tested you idea and no it doesn't work. This is still the > simplest answer I have > (?i)(.* cum .*|cum|cum .*|.* cum) > Thanks > Malcolm Yes, you are right, the problem is quoting. If I had checked the code before thinking, I had posted this: (?i).*\\bcum\\b.* With those quoted backslashes it should work. I'm not sure if it was ever intended to have a regex in quarantine-attachments.txt and not just part of a filename or string, but I think this could be documented (I mean the usage of \\) Alex -- Alex Pleiner zeitform Internet Dienste Fraunhoferstrasse 5 64283 Darmstadt, Germany http://www.zeitform.de Tel.: +49 (0)6151 155-635 mailto:[EMAIL PROTECTED] Fax: +49 (0)6151 155-634 GnuPG/PGP Key-ID: 0x613C21EA ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general