mirror of https://github.com/python/cpython
Fix stupid typo in example.
This commit is contained in:
parent
83d14c12a6
commit
8e0c82a35f
|
@ -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…
Reference in New Issue