What effect does the asterisk have as opposed to the first expression? Thanks.
(?i)\.(exe)$
and
(?i)\.(exe)*$
Brett Simpson
Internet Administrator for Hillsborough County
(813) 301-7144
29251@xyz.molar.is
>>> "Bjarni R. Einarsson" <29302@xyz.molar.is> 01/07/02 01:32PM >>>
On 2002-01-07, 13:28:57 (-0500), Brett Simpson wrote:
> I've run into a weird issue were attachments in forwarded emails are being
> treated as case sensitive. For example an attachment of SULFNBK.EXE is
> considered different than sulfnbk.exe. Is there a way to get around the case
> sensitivity? Otherwise any combination of upper and lower case letters can
> be used to fool anomy.
Perl regexps are by default case sensitive, unless explicitly told
otherwise. Within the Anomy configuration, this can be done by
prefixing any and all expression patterns with "(?i)" (without the
quotes).
This is in fact how the default and sample configurations are all
done, so you should have plenty of stuff to cut'n'paste. :)
-- Bjarni R. Einarsson PGP: 02764305, B7A3AB89 29302@xyz.molar.is -><- http://bre.klaki.net/Check out my open-source email sanitizer: http://mailtools.anomy.net/ Spammers, please send plenty of email to: 29335@xyz.molar.is