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

Function capitalized_re

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

extractStaticMemberRef's capitalized-receiver test.

()

Source from the content-addressed store, hash-verified

165}
166/// extractStaticMemberRef's capitalized-receiver test.
167fn capitalized_re() -> &'static Regex {
168 static RE: OnceLock<Regex> = OnceLock::new();
169 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
170}
171/// normalizeValue's qualified `&Cls::m` member-pointer test (`/^[A-Za-z_][\w:]*$/`).
172fn qualified_ref_re() -> &'static Regex {
173 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected