javascript.lang: Numeric Separators
Steps to reproduce:
- Create a new document in gedit.
- Select the "JavaScript" language.
- Type the following:
const x = 1_000 / 2; const y = 2_000 / 2;
Observed Result: The numbers with numeric separators aren't being syntax highlighted like the other numbers, and the slashes are being interpreted as regular expression delimiters.
Expected Result: The numbers with numeric separators will be syntax highlighted like the other numbers, and the slashes will be interpreted as division operators.
Software | Version |
---|---|
gedit | 3.38.1 |
Operating System | Debian GNU/Linux rodete |
Kernel | Linux 5.10.19-1rodete1-amd64 |
Edited by Christian Hergert