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

Class CaptureMatches

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

An iterator that yields all non-overlapping capture groups matching a particular regular expression. 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

1072/// `'r` is the lifetime of the compiled regular expression and `'t` is the
1073/// lifetime of the matched string.
1074pub struct CaptureMatches<'r, 't>(re_trait::CaptureMatches<'t, ExecNoSyncStr<'r>>);
1075
1076impl<'r, 't> Iterator for CaptureMatches<'r, 't> {
1077 type Item = Captures<'t>;

Callers 1

captures_iterMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected