Skip to content

Commit 937390a

Browse files
committed
Fix \\o{} check
1 parent 30ad05f commit 937390a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

syntaxes/regex.tmLanguage.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
"comment": "\\o{37777777777 0 1777777} \\x{FFFFFFFF 0 1FFFFF}",
11281128
"patterns": [
11291129
{
1130-
"begin": "(\\\\{2}o{)(0{,10}+)(3?[0-7]{1,10})(?<!\\h{12})([0-7]*)",
1130+
"begin": "(\\\\{2}o{)(0{,10}+)(3?[0-7]{1,10})(?<![0-7]{12})([0-7]*)",
11311131
"end": "}|(?=\")",
11321132
"beginCaptures": {
11331133
"1": { "name": "punctuation.definition.list.begin.markdown.tm" },
@@ -1138,7 +1138,7 @@
11381138
"endCaptures": { "0": { "name": "punctuation.definition.list.begin.markdown.tm" } },
11391139
"patterns": [
11401140
{
1141-
"match": "(0{,10}+)([0-7]{1,7})(?<!\\h{12})([0-7]*)",
1141+
"match": "(0{,10}+)([0-7]{1,7})(?<![0-7]{12})([0-7]*)",
11421142
"captures": {
11431143
"1": { "name": "punctuation.definition.tag.tm" },
11441144
"2": { "name": "constant.numeric.tm" },
@@ -1190,7 +1190,7 @@
11901190
"captures": { "0": { "name": "punctuation.definition.list.begin.markdown.tm" } },
11911191
"patterns": [
11921192
{
1193-
"match": "(0{,10}+)([0-7]{1,7})(?<!\\h{12})([0-7]*)",
1193+
"match": "(0{,10}+)([0-7]{1,7})(?<![0-7]{12})([0-7]*)",
11941194
"captures": {
11951195
"1": { "name": "punctuation.definition.tag.tm" },
11961196
"2": { "name": "constant.numeric.tm" },
@@ -1246,7 +1246,7 @@
12461246
"captures": { "0": { "name": "punctuation.definition.list.begin.markdown.tm" } },
12471247
"patterns": [
12481248
{
1249-
"match": "(0{,10}+)([1-4]?[0-7]{1,6})(?<!\\h{12})([0-7]*)",
1249+
"match": "(0{,10}+)([1-4]?[0-7]{1,6})(?<![0-7]{12})([0-7]*)",
12501250
"captures": {
12511251
"1": { "name": "punctuation.definition.tag.tm" },
12521252
"2": { "name": "constant.numeric.tm" },

0 commit comments

Comments
 (0)