Searched refs:fullmatch (Results 1 - 19 of 19) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_re.py | 565 # Issue 16203: Proposal: add re.fullmatch() method. 566 self.assertEqual(re.fullmatch(r"a", "a").span(), (0, 1)) 568 self.assertEqual(re.fullmatch(r"a|ab", string).span(), (0, 2)) 570 self.assertEqual(re.fullmatch(br"a|ab", string).span(), (0, 2)) 573 self.assertEqual(re.fullmatch(r, a + b).span(), (0, 2)) 574 self.assertEqual(re.fullmatch(r".*?$", "abc").span(), (0, 3)) 575 self.assertEqual(re.fullmatch(r".*?", "abc").span(), (0, 3)) 576 self.assertEqual(re.fullmatch(r"a.*?b", "ab").span(), (0, 2)) 577 self.assertEqual(re.fullmatch(r"a.*?b", "abb").span(), (0, 3)) 578 self.assertEqual(re.fullmatch( [all...] |
/third_party/skia/resources/sksl/es2_conformance/ |
H A D | import_conformance_tests.py | 159 if re.fullmatch('argument_eval_order_[12]', testName): 178 if (re.fullmatch('(vec|bvec|ivec)[234]_to_(float|int|bool)', testName) or 179 re.fullmatch('(vec|bvec|ivec)[34]_to_(vec|bvec|ivec)2', testName) or 180 re.fullmatch('(vec|bvec|ivec)[4]_to_(vec|bvec|ivec)3', testName) or 182 re.fullmatch('(out|inout)_lowp_(int|float)', testName) or
|
/third_party/json/tools/gdb_pretty_printer/ |
H A D | nlohmann-json.py | 17 m = ns_pattern.fullmatch(val.type.strip_typedefs().name) 20 m = ns_pattern.fullmatch(str(val['m_type']))
|
/third_party/python/Lib/re/ |
H A D | __init__.py | 89 fullmatch Match a regular expression pattern to all of a string. 131 "match", "fullmatch", "search", "sub", "subn", "split", 168 def fullmatch(pattern, string, flags=0): function 171 return _compile(pattern, flags).fullmatch(string)
|
/third_party/json/tools/generate_natvis/ |
H A D | generate_natvis.py | 11 if not re.fullmatch(r'\d+\.\d+\.\d+', v):
|
/third_party/skia/buildtools/reclient_cfgs/ |
H A D | fetch_reclient_cfgs.py | 47 m = re.fullmatch(r'projects/([-\w]+)/instances/[-\w]+', instance)
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | mock_tk.py | 161 if m := re.fullmatch(r'end-(\d*)c', char, re.A): # Used by hyperparser.
|
/third_party/mbedtls/tests/scripts/ |
H A D | analyze_outcomes.py | 114 return str_or_re.fullmatch(name) is not None
|
/third_party/qrcodegen/python/ |
H A D | qrcodegen.py | 759 return QrSegment._NUMERIC_REGEX.fullmatch(text) is not None 767 return QrSegment._ALPHANUMERIC_REGEX.fullmatch(text) is not None
|
/third_party/python/Lib/http/ |
H A D | cookies.py | 172 _is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch
|
H A D | client.py | 139 _is_legal_header_name = re.compile(rb'[^:\s][^:\r\n]*').fullmatch
|
/third_party/python/Lib/ |
H A D | pathlib.py | 193 return re.compile(fnmatch.translate(pattern), re.IGNORECASE).fullmatch 261 return re.compile(fnmatch.translate(pattern)).fullmatch
|
H A D | ipaddress.py | 644 m = _address_fmt_re.fullmatch(fmt)
|
/third_party/jinja2/ |
H A D | lexer.py | 753 if whitespace_re.fullmatch(text, l_pos):
|
H A D | filters.py | 781 if _uri_scheme_re.fullmatch(scheme) is None:
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | xml_consistency.py | 625 matches = EXTNAME_RE.fullmatch(name)
|
/third_party/python/Lib/urllib/ |
H A D | parse.py | 1135 match = _portprog.fullmatch(host)
|
/third_party/python/Lib/idlelib/ |
H A D | configdialog.py | 1564 return digits_or_empty_re.fullmatch(s) is not None 1774 return digits_or_empty_re.fullmatch(s) is not None
|
/third_party/python/Lib/tkinter/ |
H A D | __init__.py | 157 m = re.fullmatch(r'(\d+)\.(\d+)([ab.])(\d+)', version)
|
Completed in 31 milliseconds