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

Class Match

regex/src/re_bytes.rs:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28/// The lifetime parameter `'t` refers to the lifetime of the matched text.
29#[derive(Copy, Clone, Debug, Eq, PartialEq)]
30pub struct Match<'t> {
31 text: &'t [u8],
32 start: usize,
33 end: usize,
34}
35
36impl<'t> Match<'t> {
37 /// Returns the starting byte offset of the match in the haystack.

Callers 10

find_dfa_forwardMethod · 0.70
mapMethod · 0.70
exec_atMethod · 0.70
exec_at_reverseMethod · 0.70
nextMethod · 0.70
compile_oneMethod · 0.70
compile_manyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected