MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / ws_run_re

Function ws_run_re

codegraph-kernel/src/ccpp/mod.rs:143–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 RE.get_or_init(|| Regex::new(r"[*&]+").unwrap())
142}
143fn ws_run_re() -> &'static Regex {
144 static RE: OnceLock<Regex> = OnceLock::new();
145 RE.get_or_init(|| Regex::new(r"\s+").unwrap())
146}
147fn simple_ident_re() -> &'static Regex {
148 static RE: OnceLock<Regex> = OnceLock::new();
149 RE.get_or_init(|| Regex::new(r"^[A-Za-z_][A-Za-z0-9_]*$").unwrap())

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected