Skip to content

Commit

Permalink
improving culture regex so its not too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
joelAVS committed Sep 1, 2024
1 parent 2a89e68 commit 292d740
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions syntaxes/paradox.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,15 @@
]
},
"strings": {
"name": "string.quoted.double.paradox",
"begin": "(?<!\\s*first_names\\s*=\\s*{\\s*\\S.*?|\\s*last_names\\s*=\\s*{\\s*\\S.*?)\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.paradox",
"match": "\\\\."
}
]
"name": "string.quoted.double.paradox",
"begin": "(?<!\\s*(?:first_names|last_names)\\s*=\\s*{\\s*\\S.*?)\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.paradox",
"match": "\\\\."
}
]
}
}
}

0 comments on commit 292d740

Please sign in to comment.