summaryrefslogtreecommitdiffstats
path: root/Modules
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 /Modules
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 'Modules')
-rw-r--r--Modules/pypcre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/pypcre.c b/Modules/pypcre.c
index 5d41cc1..797d955 100644
--- a/Modules/pypcre.c
+++ b/Modules/pypcre.c
@@ -1755,7 +1755,7 @@ for (;; ptr++)
{
case '#':
case 'i':
- case 'l':
+ case 'L':
case 'm':
case 's':
case 'x':
@@ -2476,7 +2476,7 @@ while ((c = *(++ptr)) != 0)
options |= PCRE_CASELESS;
continue;
}
- else if ((c = *ptr) == 'l')
+ else if ((c = *ptr) == 'L')
{
options |= PCRE_LOCALE;
continue;