String-callable qualified shape (`/^\w+::\w+$/`, JS ASCII `\w`).
()
| 98 | } |
| 99 | /// String-callable qualified shape (`/^\w+::\w+$/`, JS ASCII `\w`). |
| 100 | fn qualified_callable_re() -> &'static Regex { |
| 101 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 102 | RE.get_or_init(|| Regex::new(r"^[0-9A-Za-z_]+::[0-9A-Za-z_]+$").unwrap()) |
| 103 | } |
| 104 | /// extractStaticMemberRef's capitalized-receiver test. |
| 105 | fn capitalized_re() -> &'static Regex { |
| 106 | static RE: OnceLock<Regex> = OnceLock::new(); |
no test coverage detected