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

Method as_bytes

regex/src/re_bytes.rs:51–53  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

49 /// Returns the matched text.
50 #[inline]
51 pub fn as_bytes(&self) -> &'t [u8] {
52 &self.text[self.start..self.end]
53 }
54
55 /// Creates a new match from the given haystack and byte offsets.
56 #[inline]

Callers 15

no_expansionMethod · 0.45
pFunction · 0.45
next_after_emptyMethod · 0.45
shortest_match_atMethod · 0.45
is_match_atMethod · 0.45
find_atMethod · 0.45
captures_read_atMethod · 0.45
alternation_literalsFunction · 0.45
expand_strFunction · 0.45
expand_bytesFunction · 0.45
indexMethod · 0.45
prefixesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected