extractStaticMemberRef's capitalized-receiver test.
()
| 134 | } |
| 135 | /// extractStaticMemberRef's capitalized-receiver test. |
| 136 | fn 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:]*$/`). |
| 141 | fn qualified_ref_re() -> &'static Regex { |
| 142 | static RE: OnceLock<Regex> = OnceLock::new(); |
no test coverage detected