remove _ in json numeric literals
This commit is contained in:
parent
34e20b13b0
commit
8f43531b47
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{ "regex": "[a-zA-Z_][a-zA-Z0-9_]*", "is": "error" },
|
{ "regex": "[a-zA-Z_][a-zA-Z0-9_]*", "is": "error" },
|
||||||
{ "regex": "[0-9_]+(\\.[0-9_]*([eE][-+]?[0-9_]+)?)?", "is": "literal" },
|
{ "regex": "[0-9]+(\\.[0-9]*([eE][-+]?[0-9]+)?)?", "is": "literal" },
|
||||||
{
|
{
|
||||||
"regex": "\"(\\\\\"|[^\"])*\"(:)",
|
"regex": "\"(\\\\\"|[^\"])*\"(:)",
|
||||||
"is": { "default": "keyword2", "captures": ["keyword2", "punct"] }
|
"is": { "default": "keyword2", "captures": ["keyword2", "punct"] }
|
||||||
|
|
Loading…
Reference in a new issue