logic: implemented using regex capture ranges for syntax highlighting rules
* only first capture will be highlighted (-> only use one capture range per regex * non-capturing braces can be used with start: "(?:" and end: ")"
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"type" : "quotation",
|
||||
"patterns" : [ "\"([^\"]|\\\\.)*\"", "\'[^\']\'" ],
|
||||
"patterns" : [ "\"(?:[^\"]|\\\\.)*\"", "\'[^\']\'" ],
|
||||
"priority" : true
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user