summaryrefslogtreecommitdiffstats
path: root/Doc/libre.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-10 23:05:53 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-10 23:05:53 (GMT)
commitbd49ac44925fe350b1f4f61cabcdb3f2e5cd2ff8 (patch)
tree962c0c8cfbbd1b6e31fb33a91b227c50444da362 /Doc/libre.tex
parentd0753e20b256057a6320e95e43974f053f4123f1 (diff)
downloadcpython-bd49ac44925fe350b1f4f61cabcdb3f2e5cd2ff8.zip
cpython-bd49ac44925fe350b1f4f61cabcdb3f2e5cd2ff8.tar.gz
cpython-bd49ac44925fe350b1f4f61cabcdb3f2e5cd2ff8.tar.bz2
The 'l' flag (locale specific matching) has been renamed to 'L'.
Diffstat (limited to 'Doc/libre.tex')
-rw-r--r--Doc/libre.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/libre.tex b/Doc/libre.tex
index 6f216a7..b63a5fa 100644
--- a/Doc/libre.tex
+++ b/Doc/libre.tex
@@ -164,10 +164,11 @@ class: \code{[(] [)]}.
determines what the meaning and further syntax of the construct is.
Following are the currently supported extensions.
%
-\item[\code{(?ilmsx)}] (One or more letters from the set 'i', 'l', 'm', 's',
+\item[\code{(?iLmsx)}] (One or more letters from the set 'i', 'L', 'm', 's',
'x'.) The group matches the empty string; the letters set the
corresponding flags (re.I, re.L, re.M, re.S, re.X) for the entire regular
-expression. This is useful if you wish include the flags as part of the regular
+expression. (The flag 'L' is uppercase because it is not in standard Perl.)
+This is useful if you wish include the flags as part of the regular
expression, instead of passing a \var{flag} argument to the \code{compile} function.
%
\item[\code{(?:...)}] A non-grouping version of regular parentheses.