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

Function cap_ident_re

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

Source from the content-addressed store, hash-verified

88 RE.get_or_init(|| Regex::new(r"^[A-Za-z_]\w*$").unwrap())
89}
90fn cap_ident_re() -> &'static Regex {
91 static RE: OnceLock<Regex> = OnceLock::new();
92 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
93}
94/// The chained-call re-encode gate (`/^[A-Z]/`).
95fn starts_upper_re() -> &'static Regex {
96 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected