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

Function cap_ident_re

codegraph-kernel/src/dart.rs:76–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 RE.get_or_init(|| Regex::new(r"^[A-Za-z_]\w*$").unwrap())
75}
76fn cap_ident_re() -> &'static Regex {
77 static RE: OnceLock<Regex> = OnceLock::new();
78 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
79}
80/// The chained-call re-encode gate (`/^[A-Z]/`).
81fn starts_upper_re() -> &'static Regex {
82 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected