Fixed regex match representation in an example.

This commit is contained in:
Serhiy Storchaka 2013-12-02 20:23:19 +02:00
parent 0c924b83ee
commit 475546facf
1 changed files with 1 additions and 1 deletions

View File

@ -801,7 +801,7 @@ attributes:
>>> pattern.fullmatch("dog") # No match as "o" is not at the start of "dog".
>>> pattern.fullmatch("ogre") # No match as not the full string matches.
>>> pattern.fullmatch("doggie", 1, 3) # Matches within given limits.
<_sre.SRE_Match object at ...>
<_sre.SRE_Match object; span=(1, 3), match='og'>
.. versionadded:: 3.4