MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / search

Method search

std/re/src/main/matcher.rs:36–38  ·  view source on GitHub ↗

Leftmost search from the beginning. */

(&self, root: &Node, ngroups: usize)

Source from the content-addressed store, hash-verified

34
35 /* Leftmost search from the beginning. */
36 pub fn search(&self, root: &Node, ngroups: usize) -> Option<Caps> {
37 self.search_from(root, ngroups, 0)
38 }
39
40 /* Leftmost search starting no earlier than `from`. */
41 pub fn search_from(&self, root: &Node, ngroups: usize, from: usize) -> Option<Caps> {

Callers 1

findFunction · 0.80

Calls 1

search_fromMethod · 0.80

Tested by

no test coverage detected