![]() | Zed 0.180.2 | With this PR | | --- | --- | |  |  | ```js match = "424242" regex = /(42)+?\d{2}\1/g ``` - `/`: `operator` -> `string.regex` (like `"` for regex strings) - `+?`: `operator.regex` - `\d`: `string.escape` -> `string.escape.regex` - `\1`: `keyword.operator.regex` (backreference) - `/g`: `keyword.regex` -> `keyword.operator.regex` - `{2}`: `number` -> `number.quantifier.regex` Release Notes: - Improved Regex highlighting |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |