extractStaticMemberRef's capitalized-receiver test.
()
| 165 | } |
| 166 | /// extractStaticMemberRef's capitalized-receiver test. |
| 167 | fn 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:]*$/`). |
| 172 | fn qualified_ref_re() -> &'static Regex { |
| 173 | static RE: OnceLock<Regex> = OnceLock::new(); |
no test coverage detected