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

Function capitalized_re

codegraph-kernel/src/kotlin.rs:72–75  ·  view source on GitHub ↗

extractStaticMemberRef's capitalized-receiver test.

()

Source from the content-addressed store, hash-verified

70}
71/// extractStaticMemberRef's capitalized-receiver test.
72fn capitalized_re() -> &'static Regex {
73 static RE: OnceLock<Regex> = OnceLock::new();
74 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
75}
76
77/// JS `\s` for the #750 inner-callee strip.
78fn is_js_space(c: char) -> bool {

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected