Kaydet (Commit) 94a10570 authored tarafından Georg Brandl's avatar Georg Brandl

Closes #14250: regex.flags has not only explicit flags but also those from the pattern

üst 5a607b06
......@@ -766,8 +766,8 @@ Regular Expression Objects
.. attribute:: RegexObject.flags
The flags argument used when the RE object was compiled, or ``0`` if no flags
were provided.
The regex matching flags. This is a combination of the flags given to
:func:`.compile` and any ``(?...)`` inline flags in the pattern.
.. attribute:: RegexObject.groups
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment