From: Fred Drake Date: Sat, 22 Jun 2002 01:07:37 +0000 (+0000) Subject: Correct the RE equivalent of scanf()'s %x and %X patterns. X-Git-Tag: v2.3c1~5242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53540ab0716de09c26ba7ce9b0f3f371556271ac;p=python 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 5ab8d84a29..3531e82bba 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -862,7 +862,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