ID EN
Regular Expression

flags

Python 3.11

The regex matching flags. This is a combination of the flags given to compile(), any (?...) inline flags in the pattern, and implicit flags such as UNICODE if the pattern is a Unicode string.

Syntax

PYTHON
Pattern.flags

See Also

compile() UNICODE