mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
The 'l' flag (locale specific matching) has been renamed to 'L'.
This commit is contained in:
parent
d0753e20b2
commit
bd49ac4492
3 changed files with 8 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue