Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dsre_constants.py212 SRE_FLAG_ASCII = 256 # use ascii "locale" variable
255 f.write("#define SRE_FLAG_ASCII %d\n" % SRE_FLAG_ASCII)
Dsre_compile.py83 if flags & SRE_FLAG_UNICODE and not flags & SRE_FLAG_ASCII:
199 elif (flags & SRE_FLAG_UNICODE) and not (flags & SRE_FLAG_ASCII):
220 elif (flags & SRE_FLAG_UNICODE) and not (flags & SRE_FLAG_ASCII):
268 elif (flags & SRE_FLAG_UNICODE) and not (flags & SRE_FLAG_ASCII):
456 elif flags & SRE_FLAG_UNICODE and not flags & SRE_FLAG_ASCII:
Dsre_parse.py63 "a": SRE_FLAG_ASCII,
68 TYPE_FLAGS = SRE_FLAG_ASCII | SRE_FLAG_LOCALE | SRE_FLAG_UNICODE
908 if not flags & SRE_FLAG_ASCII:
915 if flags & SRE_FLAG_LOCALE and flags & SRE_FLAG_ASCII:
Dre.py144 ASCII = sre_compile.SRE_FLAG_ASCII # assume ascii "locale"
/external/python/cpython3/Modules/
Dsre_constants.h94 #define SRE_FLAG_ASCII 256 macro
D_sre.c1246 {"re.ASCII", SRE_FLAG_ASCII}, in pattern_repr()
1255 (flags & (SRE_FLAG_LOCALE|SRE_FLAG_UNICODE|SRE_FLAG_ASCII)) == in pattern_repr()