ID EN
Regular Expression

I

Python 3.11

Perform case-insensitive matching; expressions like [A-Z] will also match lowercase letters. Full Unicode matching (such as Ü matching ü) also works unless the ASCII flag is used to disable non-ASCII matches. The current locale does not change the effect of this flag unless the LOCALE flag is also used.

Syntax

PYTHON
re.I

See Also

ASCII LOCALE IGNORECASE ASCII