Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ ismatch
Method
ismatch
src/rgx.rs:80–83 ·
view source on GitHub ↗
(&self, text: &str)
Source
from the content-addressed store, hash-verified
78
Self(re.to_string())
79
}
80
pub fn ismatch(&self, text: &str) -> bool
81
{
82
self.find(text).is_some()
83
}
84
pub fn find(&self, text: &str) -> Option<(usize, usize)>
85
{
86
let text: Vec<char> = text.chars().collect();
Callers
1
exec
Function · 0.80
Calls
1
find
Method · 0.45
Tested by
no test coverage detected