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

Class Matches

regex/src/re_unicode.rs:1095–1095  ·  view source on GitHub ↗

An iterator over all non-overlapping matches for a particular string. The iterator yields a `Match` value. The iterator stops when no more matches can be found. `'r` is the lifetime of the compiled regular expression and `'t` is the lifetime of the matched string.

Source from the content-addressed store, hash-verified

1093/// `'r` is the lifetime of the compiled regular expression and `'t` is the
1094/// lifetime of the matched string.
1095pub struct Matches<'r, 't>(re_trait::Matches<'t, ExecNoSyncStr<'r>>);
1096
1097impl<'r, 't> Iterator for Matches<'r, 't> {
1098 type Item = Match<'t>;

Callers 1

find_iterMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected