Regular Expressions Regex modifiers (flags) PCRE_EXTRA modifier


A PCRE modifier that causes an error if any backslash in a pattern is followed by a letter that has no special meaning. By default, a backslash followed by a letter with no special meaning is treated as a literal.



will match bigy, but


will throw an exception.

Inline version: (?X)