`/\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.
()
| 1653 | /// to single spaces first, so ASCII `\s` reads it the same; ASCII |
| 1654 | /// case-insensitive, as JS `/i` without `u` is. |
| 1655 | fn php_use_alias_re() -> &'static Regex { |
| 1656 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 1657 | RE.get_or_init(|| Regex::new(r"(?i-u)\s+as\s+").unwrap()) |
| 1658 | } |
| 1659 | |
| 1660 | /// `s` without its prefix `p` when `s` starts with `p` in any ASCII letter |
| 1661 | /// case (JS `/^p/i`). |
no test coverage detected