diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2004-09-03 17:06:10 (GMT) |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2004-09-03 17:06:10 (GMT) |
commit | a01a2ee933238dbd3e79bc3b07cfb703d40807a8 (patch) | |
tree | 4cdf29e0e0ffdb9eb72e2a4ab0ddd4656354fe19 /Doc/lib | |
parent | ab9351bf369c6dfc4b29eff18236a1fcaefe94b6 (diff) | |
download | cpython-a01a2ee933238dbd3e79bc3b07cfb703d40807a8.zip cpython-a01a2ee933238dbd3e79bc3b07cfb703d40807a8.tar.gz cpython-a01a2ee933238dbd3e79bc3b07cfb703d40807a8.tar.bz2 |
Applying modified version of patch #1018386, which fixes
some escaping bugs in SRE.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libre.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 7d59ee5..704db30 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -387,7 +387,8 @@ also accepted by the regular expression parser: Octal escapes are included in a limited form: If the first digit is a 0, or if there are three octal digits, it is considered an octal -escape. Otherwise, it is a group reference. +escape. Otherwise, it is a group reference. As for string literals, +octal escapes are always at most three digits in length. % Note the lack of a period in the section title; it causes problems |