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

Function ptr_ref_re

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

Source from the content-addressed store, hash-verified

137 RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap())
138}
139fn ptr_ref_re() -> &'static Regex {
140 static RE: OnceLock<Regex> = OnceLock::new();
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())

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected