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

Method captures_len

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

Returns the number of captures.

(&self)

Source from the content-addressed store, hash-verified

724
725 /// Returns the number of captures.
726 pub fn captures_len(&self) -> usize {
727 self.0.capture_names().len()
728 }
729
730 /// Returns an empty set of capture locations that can be reused in
731 /// 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