Home
last modified time | relevance | path

Searched refs:SRE_FLAG_UNICODE (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/
Dsre_constants.py209 SRE_FLAG_UNICODE = 32 # use unicode "locale" variable
252 f.write("#define SRE_FLAG_UNICODE %d\n" % SRE_FLAG_UNICODE)
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.py65 "u": SRE_FLAG_UNICODE,
68 TYPE_FLAGS = SRE_FLAG_ASCII | SRE_FLAG_LOCALE | SRE_FLAG_UNICODE
909 flags |= SRE_FLAG_UNICODE
910 elif flags & SRE_FLAG_UNICODE:
913 if flags & SRE_FLAG_UNICODE:
Dre.py147 UNICODE = sre_compile.SRE_FLAG_UNICODE # assume unicode "locale"
/external/python/cpython2/Lib/
Dsre_compile.py74 flags & SRE_FLAG_UNICODE):
182 elif flags & SRE_FLAG_UNICODE:
203 elif flags & SRE_FLAG_UNICODE:
232 flags & SRE_FLAG_UNICODE):
248 elif flags & SRE_FLAG_UNICODE:
Dsre_constants.py212 SRE_FLAG_UNICODE = 32 # use unicode locale variable
255 f.write("#define SRE_FLAG_UNICODE %d\n" % SRE_FLAG_UNICODE)
Dre.py123 U = UNICODE = sre_compile.SRE_FLAG_UNICODE # assume unicode locale
Dsre_parse.py63 "u": SRE_FLAG_UNICODE,
738 (p.pattern.flags & SRE_FLAG_UNICODE)):
/external/python/cpython2/Modules/
Dsre_constants.h82 #define SRE_FLAG_UNICODE 32 macro
D_sre.c1674 if (flags & SRE_FLAG_UNICODE) in sre_getlower()
1807 else if (pattern->flags & SRE_FLAG_UNICODE) in state_init()
/external/python/cpython3/Modules/
Dsre_constants.h91 #define SRE_FLAG_UNICODE 32 macro
D_sre.c1243 {"re.UNICODE", SRE_FLAG_UNICODE}, in pattern_repr()
1255 (flags & (SRE_FLAG_LOCALE|SRE_FLAG_UNICODE|SRE_FLAG_ASCII)) == in pattern_repr()
1256 SRE_FLAG_UNICODE) in pattern_repr()
1257 flags &= ~SRE_FLAG_UNICODE; in pattern_repr()
/external/python/cpython3/Doc/library/
Dmodulefinder.rst106 sre_parse: _PATTERNENDERS,SRE_FLAG_UNICODE
/external/python/cpython2/Doc/library/
Dmodulefinder.rst109 sre_parse: __getslice__,_PATTERNENDERS,SRE_FLAG_UNICODE