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

Function fullmatch

Lib/re/__init__.py:171–174  ·  view source on GitHub ↗

Try to apply the pattern to all of the string, returning a Match object, or None if no match was found.

(pattern, string, flags=0)

Source from the content-addressed store, hash-verified

169match = prefixmatch
170
171def fullmatch(pattern, string, flags=0):
172 """Try to apply the pattern to all of the string, returning
173 a Match object, or None if no match was found."""
174 return _compile(pattern, flags).fullmatch(string)
175
176def search(pattern, string, flags=0):
177 """Scan through string looking for a match to the pattern, returning

Callers

nothing calls this directly

Calls 1

_compileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…