]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct the RE equivalent of scanf()'s %x and %X patterns.
authorFred Drake <fdrake@acm.org>
Sat, 22 Jun 2002 01:07:50 +0000 (01:07 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 22 Jun 2002 01:07:50 +0000 (01:07 +0000)
Closes SF bug #572169.

Doc/lib/libre.tex

index e1a2d88e60a2605dab7cbbf65b444d42f260ad2f..99cf735f08c1c098da3516dd7de4ff55f259f8e9 100644 (file)
@@ -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