summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libre.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-16 14:01:12 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-16 14:01:12 (GMT)
commit8e0c82a35f1f9a9d43e85a0567382cb40b7d2525 (patch)
treeb05a3b3a9dfeb8016cd68ba44b0f7c1b52b2161d /Doc/lib/libre.tex
parent83d14c12a6f30a612f8bb1306ad88252342124f9 (diff)
downloadcpython-8e0c82a35f1f9a9d43e85a0567382cb40b7d2525.zip
cpython-8e0c82a35f1f9a9d43e85a0567382cb40b7d2525.tar.gz
cpython-8e0c82a35f1f9a9d43e85a0567382cb40b7d2525.tar.bz2
Fix stupid typo in example.
Diffstat (limited to 'Doc/lib/libre.tex')
-rw-r--r--Doc/lib/libre.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex
index 9bad62a..aaa282e 100644
--- a/Doc/lib/libre.tex
+++ b/Doc/lib/libre.tex
@@ -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}