diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-06-14 18:53:48 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-06-14 18:53:48 +0200 |
commit | c3e821627fba8ecf4342582ed62e75c5ad36afc0 (patch) | |
tree | cc1bee237f26ac5a5e2325a6869a8375e372aa4f /context/data/textadept/context/lexers/scite-context-lexer-json.lua | |
parent | 36ee3b791e253a00877a7b25e2d94b1dfc90a174 (diff) | |
download | context-c3e821627fba8ecf4342582ed62e75c5ad36afc0.tar.gz |
2019-06-14 17:56:00
Diffstat (limited to 'context/data/textadept/context/lexers/scite-context-lexer-json.lua')
-rw-r--r-- | context/data/textadept/context/lexers/scite-context-lexer-json.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/context/data/textadept/context/lexers/scite-context-lexer-json.lua b/context/data/textadept/context/lexers/scite-context-lexer-json.lua index 78e01fd2c..ca7add07d 100644 --- a/context/data/textadept/context/lexers/scite-context-lexer-json.lua +++ b/context/data/textadept/context/lexers/scite-context-lexer-json.lua @@ -37,9 +37,9 @@ local operator = S(':,{}[]') local fence = openarray + closearray + openhash + closehash local escape_un = P("\\u") * S("09","AF","af") -local escape_bs = P([[\]]) * P(1) -local content = (escape_un + escape_bs + (1-double))^0 -local content = ((1-double))^0 +local escape_bs = P("\\") * P(1) +----- content = (escape_un + escape_bs + (1-double))^0 +local content = (escape_bs + (1-double))^0 local reserved = P("true") + P("false") |