MCPcopy Index your code
hub / github.com/python/cpython / test_prefixmatch_getitem

Method test_prefixmatch_getitem

Lib/test/test_re.py:613–615  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

611 self.do_test_match_getitem(pat.match)
612
613 def test_prefixmatch_getitem(self):
614 pat = re.compile('(?:(?P<a1>a)|(?P<b2>b))(?P<c3>c)?')
615 self.do_test_match_getitem(pat.prefixmatch)
616
617 def test_re_fullmatch(self):
618 # Issue 16203: Proposal: add re.fullmatch() method.

Callers

nothing calls this directly

Calls 2

do_test_match_getitemMethod · 0.95
compileMethod · 0.45

Tested by

no test coverage detected