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

Method search

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

Source from the content-addressed store, hash-verified

326
327 #[pymethod]
328 fn search(&self, text: PyStrRef) -> Option<PyMatch> {
329 do_search(self, text)
330 }
331
332 #[pymethod]
333 fn sub(&self, repl: PyStrRef, text: PyStrRef, vm: &VirtualMachine) -> PyResult<PyStrRef> {

Callers

nothing calls this directly

Calls 1

do_searchFunction · 0.85

Tested by

no test coverage detected