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

Method captures_read_at

regex/src/exec.rs:393–400  ·  view source on GitHub ↗

reduces constant overhead

(
        &self,
        locs: &mut Locations,
        text: &str,
        start: usize,
    )

Source from the content-addressed store, hash-verified

391
392 #[inline(always)] // reduces constant overhead
393 fn captures_read_at(
394 &self,
395 locs: &mut Locations,
396 text: &str,
397 start: usize,
398 ) -> Option<(usize, usize)> {
399 self.0.captures_read_at(locs, text.as_bytes(), start)
400 }
401}
402
403impl<'c> RegularExpression for ExecNoSync<'c> {

Callers

nothing calls this directly

Calls 12

as_slotsMethod · 0.80
mapMethod · 0.80
is_anchor_end_matchMethod · 0.80
find_literalsMethod · 0.80
captures_nfa_typeMethod · 0.80
captures_nfaMethod · 0.80
find_dfa_forwardMethod · 0.80
as_bytesMethod · 0.45
lenMethod · 0.45
find_atMethod · 0.45

Tested by

no test coverage detected