From: Fred Drake Date: Sat, 22 Jun 2002 01:07:50 +0000 (+0000) Subject: Correct the RE equivalent of scanf()'s %x and %X patterns. X-Git-Tag: v2.2.2b1~304 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf02e5ff0ea27dc0942f548fa2291e9513259630;p=thirdparty%2FPython%2Fcpython.git Correct the RE equivalent of scanf()'s %x and %X patterns. Closes SF bug #572169. --- diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index e1a2d88e60a2..99cf735f08c1 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -877,7 +877,7 @@ offers some more-or-less equivalent mappings between \lineii{\code{\%u}} {\regexp{\e d+}} \lineii{\code{\%x}, \code{\%X}} - {\regexp{0[xX][\e dA-Fa-f]}} + {\regexp{0[xX][\e dA-Fa-f]+}} \end{tableii} To extract the filename and numbers from a string like