Skip to content

Commit 50de015

Browse files
committed
Fix regex wordPattern
1 parent e017af7 commit 50de015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-configurations/regex.language-configuration.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
["(", ")"],
4646
["[", "]"]
4747
],
48-
"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*(?=:])"
48+
"wordPattern": "(?<=(?<!\\\\)(\\\\{4})*)(\\\\{4}|\\\\{2}[^\\\\\"]|\\\\u[0-9a-fA-F]{4}|\\\\[bfnrt/\\\\\"])|(?<=\\\\{2}[kg]|\\(\\?\\()[<']\\w+[+-]?\\d*['>]?|(?<=\\\\[pP]{\\^?)[a-zA-Z _-][\\w _-]*(?=})|(?<=\\[:\\^?)[a-zA-Z]\\w*(?=:])"
4949
}

0 commit comments

Comments
 (0)