Skip to content

Commit 8ededdd

Browse files
committed
Fix chained \\C bug
1 parent c8107c7 commit 8ededdd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

syntaxes/regex.tmLanguage.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,14 +1395,14 @@
13951395
}
13961396
},
13971397
{
1398-
"match": "\\G\\\\{2}(?>c|[CM](?>-|(.))?+)(?>(\\\\{3})(\\\\)|\\g<0>|(\\\\{2})?+(\\\\u.{4,0}|\\\\?+.))?+",
1398+
"match": "\\G(\\\\{2}(?>c|[CM](?>-|(.))?+)(?>(\\\\{3})(\\\\)|\\g<1>|(\\\\{2})?+(\\\\u.{4,0}|\\\\?+.))?+)",
13991399
"captures": {
14001400
"0": { "name": "punctuation.definition.list.begin.markdown.tm" },
1401-
"1": { "name": "invalid.illegal.tm markup.underline regex" },
1402-
"2": { "name": "constant.character.escape.tm" },
1403-
"3": { "name": "markup.bold" },
1404-
"4": { "name": "punctuation.definition.tag.tm" },
1405-
"5": {
1401+
"2": { "name": "invalid.illegal.tm regex" },
1402+
"3": { "name": "constant.character.escape.tm" },
1403+
"4": { "name": "markup.bold" },
1404+
"5": { "name": "punctuation.definition.tag.tm" },
1405+
"6": {
14061406
"name": "markup.bold regex",
14071407
"patterns": [ { "include": "source.json.textmate#escape-characters" } ]
14081408
}

0 commit comments

Comments
 (0)