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

Function go_two_hop_re

codegraph-kernel/src/go.rs:37–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 RE.get_or_init(|| Regex::new(r"^[A-Za-z_]\w*$").unwrap())
36}
37fn go_two_hop_re() -> &'static Regex {
38 static RE: OnceLock<Regex> = OnceLock::new();
39 RE.get_or_init(|| Regex::new(r"^[A-Za-z_]\w*\.[A-Za-z_]\w*$").unwrap())
40}
41fn generic_angle_re() -> &'static Regex {
42 static RE: OnceLock<Regex> = OnceLock::new();
43 RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap())

Callers 1

extract_callMethod · 0.85

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected