Banned files match, example question

Olivier Nicole Olivier.Nicole at
Fri Jun 13 05:24:04 CEST 2014


> 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.



More information about the amavis-users mailing list