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

Class CaptureMatches

regex/src/re_bytes.rs:715–715  ·  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 byte string.

Source from the content-addressed store, hash-verified

713/// `'r` is the lifetime of the compiled regular expression and `'t` is the
714/// lifetime of the matched byte string.
715pub struct CaptureMatches<'r, 't>(re_trait::CaptureMatches<'t, ExecNoSync<'r>>);
716
717impl<'r, 't> Iterator for CaptureMatches<'r, 't> {
718 type Item = Captures<'t>;

Callers 1

captures_iterMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected