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

Method captures_len

regex/src/re_bytes.rs:669–671  ·  view source on GitHub ↗

Returns the number of captures.

(&self)

Source from the content-addressed store, hash-verified

667
668 /// Returns the number of captures.
669 pub fn captures_len(&self) -> usize {
670 self.0.capture_names().len()
671 }
672
673 /// Returns an empty set of capture locations that can be reused in
674 /// multiple calls to `captures_read` or `captures_read_at`.

Callers

nothing calls this directly

Calls 2

lenMethod · 0.45
capture_namesMethod · 0.45

Tested by

no test coverage detected