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

Function capitalized_re

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

extractStaticMemberRef's capitalized-receiver test.

()

Source from the content-addressed store, hash-verified

134}
135/// extractStaticMemberRef's capitalized-receiver test.
136fn capitalized_re() -> &'static Regex {
137 static RE: OnceLock<Regex> = OnceLock::new();
138 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
139}
140/// normalizeValue's qualified `&Cls::m` member-pointer test (`/^[A-Za-z_][\w:]*$/`).
141fn qualified_ref_re() -> &'static Regex {
142 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected