Home
last modified time | relevance | path

Searched refs:SRE_FLAG_LOCALE (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/
Dsre_compile.py82 if flags & SRE_FLAG_IGNORECASE and not flags & SRE_FLAG_LOCALE:
95 elif flags & SRE_FLAG_LOCALE:
121 if flags & SRE_FLAG_IGNORECASE and flags & SRE_FLAG_LOCALE:
197 if flags & SRE_FLAG_LOCALE:
218 if flags & SRE_FLAG_LOCALE:
226 elif flags & SRE_FLAG_LOCALE:
266 if flags & SRE_FLAG_LOCALE:
475 if flags1 & SRE_FLAG_IGNORECASE and flags1 & SRE_FLAG_LOCALE:
501 if flags & SRE_FLAG_IGNORECASE and flags & SRE_FLAG_LOCALE:
550 if not (flags & SRE_FLAG_IGNORECASE and flags & SRE_FLAG_LOCALE):
Dsre_constants.py204 SRE_FLAG_LOCALE = 4 # honour system locale variable
247 f.write("#define SRE_FLAG_LOCALE %d\n" % SRE_FLAG_LOCALE)
Dsre_parse.py58 "L": SRE_FLAG_LOCALE,
68 TYPE_FLAGS = SRE_FLAG_ASCII | SRE_FLAG_LOCALE | SRE_FLAG_UNICODE
924 if flags & SRE_FLAG_LOCALE:
933 if flags & SRE_FLAG_LOCALE and flags & SRE_FLAG_ASCII:
Dre.py148 LOCALE = L = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale
/third_party/python/Modules/
Dsre_constants.h88 #define SRE_FLAG_LOCALE 4 macro
D_sre.c1308 {"re.LOCALE", SRE_FLAG_LOCALE}, in pattern_repr()
1323 (flags & (SRE_FLAG_LOCALE|SRE_FLAG_UNICODE|SRE_FLAG_ASCII)) == in pattern_repr()