mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix stupid typo in example.
This commit is contained in:
parent
83d14c12a6
commit
8e0c82a35f
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ likely want to use the \function{search()} function rather than the
|
|||
|
||||
\begin{verbatim}
|
||||
>>> import re
|
||||
>>> m = re.search('(?<=abc)def', 'abdef')
|
||||
>>> m = re.search('(?<=abc)def', 'abcdef')
|
||||
>>> m.group(0)
|
||||
'def'
|
||||
\end{verbatim}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue