MCPcopy Index your code
hub / github.com/RustPython/RustPython / fullmatch

Function fullmatch

Lib/re/__init__.py:169–172  ·  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

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

Callers

nothing calls this directly

Calls 2

fullmatchMethod · 0.80
_compileFunction · 0.70

Tested by

no test coverage detected