/external/chromium-trace/catapult/common/py_utils/py_utils/ |
H A D | camel_case.py | 5 import re namespace 15 return re.sub('(?!^)([A-Z]+)', r'_\1', obj).lower()
|
/external/libxml2/python/tests/ |
H A D | regexp.py | 7 re = libxml2.regexpCompile("a|b") variable 8 if re.regexpExec("a") != 1: 11 if re.regexpExec("b") != 1: 14 if re.regexpExec("ab") != 0: 17 if re.regexpExec("") != 0: 20 if re.regexpIsDeterminist() != 1: 23 del re
|
/external/python/cpython2/Lib/test/crashers/ |
H A D | infinite_loop_re.py | 7 import re namespace 8 starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\s*('
|
/external/python/cpython3/Lib/test/crashers/ |
H A D | infinite_loop_re.py | 7 import re namespace 8 starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\s*('
|
/external/autotest/client/cros/ |
H A D | tty.py | 10 import re namespace 16 if re.search(
|
/external/autotest/utils/ |
H A D | gslib.py | 10 import re namespace 24 return re.sub(_INVALID_GS_PATTERN,
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
H A D | strip_js_comments.py | 7 import re namespace 24 next_tok = re.compile('|'.join(re.escape(x) for x in tokens))
|
/external/google-benchmark/cmake/ |
H A D | gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
H A D | std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
/external/libcxx/utils/google-benchmark/cmake/ |
H A D | gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
H A D | std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
/external/libcxx/utils/libcxx/sym_check/ |
H A D | match.py | 14 import re namespace 35 regex = re.compile(regex_str)
|
/external/llvm/utils/llvm-build/llvmbuild/ |
H A D | configutil.py | 5 import re namespace 16 replacement), where the regex and replacement will be used as in 're.sub' to 35 regex = re.compile(regex_string)
|
/external/python/cpython2/Demo/comparisons/ |
H A D | sortingtest.py | 26 import re namespace 30 prog = re.compile('^(.*)=([-+]?[0-9]+)')
|
/external/python/cpython2/Demo/scripts/ |
H A D | find-uname.py | 21 import re namespace 31 pat = re.compile(arg, re.I)
|
/external/python/cpython2/Lib/ |
H A D | sre.py | 2 It will be removed in the future. sre was moved to re in version 2.5. 6 warnings.warn("The sre module is deprecated, please import re.", namespace 9 from re import * 10 from re import __all__ 13 from re import _compile
|
/external/python/cpython2/Lib/test/ |
H A D | reperf.py | 1 import re namespace 6 p = re.compile(r"([\13\14])")
|
/external/python/cpython2/Tools/scripts/ |
H A D | combinerefs.py | 72 import re namespace 92 for line in read(fi, re.compile(r'^Remaining objects:$'), False): 95 crack = re.compile(r'([a-zA-Z\d]+) \[(\d+)\] (.*)') 99 for line in read(fi, re.compile(r'^Remaining object addresses:$'), False):
|
H A D | fixps.py | 7 import re namespace 18 if not re.match('^#! */usr/local/bin/python', line): 24 line = re.sub('/usr/local/bin/python',
|
H A D | lfcr.py | 5 import sys, re, os namespace 16 newdata = re.sub("\r?\n", "\r\n", data)
|
/external/python/cpython3/Lib/test/ |
H A D | reperf.py | 1 import re namespace 6 p = re.compile(r"([\13\14])")
|
/external/python/cpython3/Objects/ |
H A D | typeslots.py | 4 import sys, re namespace 10 m = re.match("#define Py_([a-z_]+) ([0-9]+)", line)
|
/external/python/cpython3/Tools/scripts/ |
H A D | combinerefs.py | 72 import re namespace 93 for line in read(fi, re.compile(r'^Remaining objects:$'), False): 96 crack = re.compile(r'([a-zA-Z\d]+) \[(\d+)\] (.*)') 100 for line in read(fi, re.compile(r'^Remaining object addresses:$'), False):
|
H A D | find-uname.py | 21 import re namespace 31 pat = re.compile(arg, re.I)
|
H A D | fixps.py | 7 import re namespace 18 if not re.match('^#! */usr/local/bin/python', line): 24 line = re.sub('/usr/local/bin/python',
|