Browse Source

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

pull/2332/head
Georg Brandl 15 years ago
parent
commit
94a105705f
  1. 4
      Doc/library/re.rst

4
Doc/library/re.rst

@ -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…
Cancel
Save