summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-09-09 01:30:13 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-09-09 01:30:13 (GMT)
commitdfa7bd97ff9269a441826b8a112ff7b931894d82 (patch)
tree83a9c4a298d5360e983aa22a3773ed930b3af1d1 /Doc
parent74923d73ee43a857f8eaf541665b585b7d3753f6 (diff)
downloadcpython-dfa7bd97ff9269a441826b8a112ff7b931894d82.zip
cpython-dfa7bd97ff9269a441826b8a112ff7b931894d82.tar.gz
cpython-dfa7bd97ff9269a441826b8a112ff7b931894d82.tar.bz2
SF #801306: Bad RE in scanf example
Diffstat (limited to 'Doc')
-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 e31ccd0..bf4df63 100644
--- a/Doc/lib/libre.tex
+++ b/Doc/lib/libre.tex
@@ -867,7 +867,7 @@ offers some more-or-less equivalent mappings between
\lineii{\code{\%d}}
{\regexp{[-+]?\e d+}}
\lineii{\code{\%e}, \code{\%E}, \code{\%f}, \code{\%g}}
- {\regexp{[-+]?(\e d+(\e.\e d*)?|\e d*\e.\e d+)([eE]\e d+)?}}
+ {\regexp{[-+]?(\e d+(\e.\e d*)?|\e d*\e.\e d+)([eE][-+]?\e d+)?}}
\lineii{\code{\%i}}
{\regexp{[-+]?(0[xX][\e dA-Fa-f]+|0[0-7]*|\e d+)}}
\lineii{\code{\%o}}