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

Method match_

crates/stdlib/src/re.rs:323–325  ·  view source on GitHub ↗
(&self, text: PyStrRef)

Source from the content-addressed store, hash-verified

321 impl PyPattern {
322 #[pymethod(name = "match")]
323 fn match_(&self, text: PyStrRef) -> Option<PyMatch> {
324 do_match(self, text)
325 }
326
327 #[pymethod]
328 fn search(&self, text: PyStrRef) -> Option<PyMatch> {

Callers

nothing calls this directly

Calls 1

do_matchFunction · 0.85

Tested by

no test coverage detected