mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Closes #14250: regex.flags has not only explicit flags but also those from the pattern
This commit is contained in:
parent
5a607b06d6
commit
94a105705f
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue