diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-07-31 16:22:05 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-07-31 16:22:05 (GMT) |
commit | b7697a50fb3a0f5b2ced27244d453d08c44955be (patch) | |
tree | 85887806ff4e64df5a85850843d819d09f2b5fbf /Doc | |
parent | aa95fdb783c37d6053fc494d2018dc08889f4ed1 (diff) | |
download | cpython-b7697a50fb3a0f5b2ced27244d453d08c44955be.zip cpython-b7697a50fb3a0f5b2ced27244d453d08c44955be.tar.gz cpython-b7697a50fb3a0f5b2ced27244d453d08c44955be.tar.bz2 |
[Bug #848556] Remove \d* from second alternative to avoid exponential case when repeating match
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libre.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 1404e09..84e382d 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -897,7 +897,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.\e d+)([eE][-+]?\e d+)?}} \lineii{\code{\%i}} {\regexp{[-+]?(0[xX][\e dA-Fa-f]+|0[0-7]*|\e d+)}} \lineii{\code{\%o}} |