`/\s+as\s+/i`, the alias split of a `use` clause. The text is collapsed to single spaces first, so ASCII `\s` reads it the same; ASCII case-insensitive, as JS `/i` without `u` is.
()
| 1685 | /// to single spaces first, so ASCII `\s` reads it the same; ASCII |
| 1686 | /// case-insensitive, as JS `/i` without `u` is. |
| 1687 | fn php_use_alias_re() -> &'static Regex { |
| 1688 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 1689 | RE.get_or_init(|| Regex::new(r"(?i-u)\s+as\s+").unwrap()) |
| 1690 | } |
| 1691 | |
| 1692 | /// `s` without its prefix `p` when `s` starts with `p` in any ASCII letter |
| 1693 | /// case (JS `/^p/i`). |
no test coverage detected