MCPcopy Create free account
hub / github.com/davidblewett/rure-python / into_searcher

Method into_searcher

regex/src/pattern.rs:15–22  ·  view source on GitHub ↗
(self, haystack: &'t str)

Source from the content-addressed store, hash-verified

13 type Searcher = RegexSearcher<'r, 't>;
14
15 fn into_searcher(self, haystack: &'t str) -> RegexSearcher<'r, 't> {
16 RegexSearcher {
17 haystack: haystack,
18 it: self.find_iter(haystack),
19 last_step_end: 0,
20 next_match: None,
21 }
22 }
23}
24
25unsafe impl<'r, 't> Searcher<'t> for RegexSearcher<'r, 't> {

Callers

nothing calls this directly

Calls 1

find_iterMethod · 0.45

Tested by

no test coverage detected