Removes g flag from wordPatterns.

This commit is contained in:
Henning Dieterichs
2021-05-31 19:47:57 +02:00
parent feed53b813
commit dcf81c6265
6 changed files with 6 additions and 12 deletions

View File

@@ -34,7 +34,7 @@
"end": "^\\s*(#|\/\/)endregion\\b"
}
},
"wordPattern": { "pattern": "(-?\\d*\\.\\d\\w*)|([^\\-\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)", "flags": "g" },
"wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\-\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
"onEnterRules": [
{
// e.g. /** | */