Skip to content

Commit

Permalink
Fix invalid groups within negative lookbehind
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Oct 18, 2024
1 parent c855c52 commit a9718d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/regex.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
},
{
"comment": "(...)",
"begin": "\\((?!\\?[-~<=:!{|IimxWDSPy]|\\*[A-Za-z_])",
"begin": "\\((?!\\?[-~<>=:!{(|IimxWDSPy]|\\*[A-Za-z_])",
"end": "\\)|(?=\")",
"captures": { "0": { "name": "invalid.illegal.tm markup.underline" } },
"patterns": [
Expand All @@ -351,7 +351,7 @@
},
{
"comment": "(...)",
"begin": "\\((?!\\?[-~<=:!{|IimxWDSPy]|\\*[A-Za-z_])",
"begin": "\\((?!\\?[-~<>=:!{(|IimxWDSPy]|\\*[A-Za-z_])",
"end": "\\)|(?=\")",
"captures": { "0": { "name": "invalid.illegal.tm markup.underline" } },
"patterns": [
Expand Down

0 comments on commit a9718d4

Please sign in to comment.