Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidblewett/rure-python
/ as_str
Method
as_str
regex/src/re_unicode.rs:60–62 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
58
/// Returns the matched text.
59
#[inline]
60
pub fn as_str(&self) -> &'t str {
61
&self.text[self.start..self.end]
62
}
63
64
/// Creates a new match from the given haystack and byte offsets.
65
#[inline]
Callers
2
from
Method · 0.45
index
Method · 0.45
Calls
1
regex_strings
Method · 0.80
Tested by
no test coverage detected