Home
last modified time | relevance | path

Searched refs:fullmatch (Results 1 - 19 of 19) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_re.py565 # 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 Dimport_conformance_tests.py159 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 Dnlohmann-json.py17 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__.py89 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 Dgenerate_natvis.py11 if not re.fullmatch(r'\d+\.\d+\.\d+', v):
/third_party/skia/buildtools/reclient_cfgs/
H A Dfetch_reclient_cfgs.py47 m = re.fullmatch(r'projects/([-\w]+)/instances/[-\w]+', instance)
/third_party/python/Lib/idlelib/idle_test/
H A Dmock_tk.py161 if m := re.fullmatch(r'end-(\d*)c', char, re.A): # Used by hyperparser.
/third_party/mbedtls/tests/scripts/
H A Danalyze_outcomes.py114 return str_or_re.fullmatch(name) is not None
/third_party/qrcodegen/python/
H A Dqrcodegen.py759 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 Dcookies.py172 _is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch
H A Dclient.py139 _is_legal_header_name = re.compile(rb'[^:\s][^:\r\n]*').fullmatch
/third_party/python/Lib/
H A Dpathlib.py193 return re.compile(fnmatch.translate(pattern), re.IGNORECASE).fullmatch
261 return re.compile(fnmatch.translate(pattern)).fullmatch
H A Dipaddress.py644 m = _address_fmt_re.fullmatch(fmt)
/third_party/jinja2/
H A Dlexer.py753 if whitespace_re.fullmatch(text, l_pos):
H A Dfilters.py781 if _uri_scheme_re.fullmatch(scheme) is None:
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dxml_consistency.py625 matches = EXTNAME_RE.fullmatch(name)
/third_party/python/Lib/urllib/
H A Dparse.py1135 match = _portprog.fullmatch(host)
/third_party/python/Lib/idlelib/
H A Dconfigdialog.py1564 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__.py157 m = re.fullmatch(r'(\d+)\.(\d+)([ab.])(\d+)', version)

Completed in 31 milliseconds