Skip to content

Commit

Permalink
Fix regex wordPattern
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Dec 15, 2024
1 parent e017af7 commit 50de015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language-configurations/regex.language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@
["(", ")"],
["[", "]"]
],
"wordPattern": "(?<=(?<!\\\\)(\\\\{4})*)(\\\\u[0-9a-fA-F]{,4}|\\\\[bfnrt/\\\\\"]|\\\\{4}|\\\\{2}[^\\\\\"])|(?<=\\\\{2}[kg]|\\(\\?)[<'][a-zA-Z_]\\w*[+-]?\\w*['>]?|(?<=\\\\[pP]{\\^?)[a-zA-Z _-][\\w _-]*(?=})|(?<=\\[:\\^?)[a-zA-Z]\\w*(?=:])"
"wordPattern": "(?<=(?<!\\\\)(\\\\{4})*)(\\\\{4}|\\\\{2}[^\\\\\"]|\\\\u[0-9a-fA-F]{4}|\\\\[bfnrt/\\\\\"])|(?<=\\\\{2}[kg]|\\(\\?\\()[<']\\w+[+-]?\\d*['>]?|(?<=\\\\[pP]{\\^?)[a-zA-Z _-][\\w _-]*(?=})|(?<=\\[:\\^?)[a-zA-Z]\\w*(?=:])"
}

0 comments on commit 50de015

Please sign in to comment.