Fortinet black logo

Administration Guide

Case sensitivity

Case sensitivity

By default, regular expression pattern matching in FortiMail is not case sensitive. For example, bad language matches bad language, Bad LAnguaGe, etc.Therefore, the regular expression /i, which is used to make a word or phrase case insensitive in other products, should not be used in the FortiMail configuration.

If you need to enable case sensitive matching, then prefix the regular expression with (?-i).

For example, (?-i)abc will match string abc with case sensitivity so that ABC or Abc will not match it.

Case sensitivity

By default, regular expression pattern matching in FortiMail is not case sensitive. For example, bad language matches bad language, Bad LAnguaGe, etc.Therefore, the regular expression /i, which is used to make a word or phrase case insensitive in other products, should not be used in the FortiMail configuration.

If you need to enable case sensitive matching, then prefix the regular expression with (?-i).

For example, (?-i)abc will match string abc with case sensitivity so that ABC or Abc will not match it.