Symbolic operator tail (`/^[^\w\s]/` in JS).
()
| 129 | } |
| 130 | /// Symbolic operator tail (`/^[^\w\s]/` in JS). |
| 131 | fn symbolic_op_re() -> &'static Regex { |
| 132 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 133 | RE.get_or_init(|| Regex::new(r"^[^A-Za-z0-9_\s]").unwrap()) |
| 134 | } |
| 135 | /// extractStaticMemberRef's capitalized-receiver test. |
| 136 | fn capitalized_re() -> &'static Regex { |
| 137 | static RE: OnceLock<Regex> = OnceLock::new(); |