[clamav-users] FilenameRegex and case sensitivity

kionez kionez at anche.no
Wed May 3 07:19:31 UTC 2017


Hi all,

I wonder how I can use a case-insensitive FilenameRegex in signatures
based on container metadata.

I.E.: if I would like to match "word", "Word" and "worD" (abd so on), my
rule will be something like:

TEST.TestFilename.001:CL_TYPE_ZIP:*:[wW][oO][rR][dD]:*:*:*:*:*:*

Is there a way to avoid this unreadable way? Something like "/word/i" ? :)


Thanks in advance,

k.



More information about the clamav-users mailing list