ID EN
Regular Expression

U

Python 3.11

In Python 3, Unicode characters are matched by default for str patterns. This flag is therefore redundant with no effect and is only kept for backward compatibility.

Syntax

PYTHON
re.U

See Also

ASCII