- change number detection regex

- bump up to 1.0.9
This commit is contained in:
xenkuo 2020-07-16 21:42:08 +08:00
parent 570d97c7c7
commit f0bc3ca5b1
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "comNG",
"productName": "comNG",
"version": "1.0.8",
"version": "1.0.9",
"mode": "dev",
"description": "A powerful serialport tool with modernx UI",
"repository": "https://github.com/xenkuo/comNG",

View File

@ -456,7 +456,7 @@ amdRequire(["vs/editor/editor.main"], function () {
],
[/\d*\.\d+([eE][-+]?\d+)?/, "number"],
[/0[xX][0-9a-fA-F]+/, "number"],
[/[0-9a-fA-F]{2,}/, "number"],
[/[0-9a-fA-F]{4,}/, "number"],
[/\d+/, "number"],
],
},