You can also use (?-i) to disable case insensitivity. PCRE regex makes it possible to apply/remove case (in)sensitivity to portions of regex expressions. Meaning one could have case sensitive and case insensitive portions in the same expression. Which means that advanced regex users would actually have to sacrifice functionality if a simple on/off option were used to control regex case (in)sensitivity.
Last edited by DiapDealer; 03-01-2020 at 05:34 AM.
|