Banned files match, example question

Olivier Nicole Olivier.Nicole at cs.ait.ac.th
Fri Jun 13 05:24:04 CEST 2014


Gregory,

> But I'm confused. Why does the first match use:
> $'i
> vs
> $'ix for the second?

amavis is written in Perl, this is Perl syntax: i stands for case
insensitive: the regexp would match .exe and .EXE and .eXe etc.

x means extended, you can have  spaces in the regexp and they will be
ignored, that adds readability to your regexp.

Bests,

Olivier


More information about the amavis-users mailing list