Removing double slash from wtihin regex in onEnter rule (#242679)

removing double slash from wtihin regex in onEnter rule
This commit is contained in:
Aiday Marlen Kyzy
2025-03-05 12:28:46 +01:00
committed by GitHub
parent 5ff58539b4
commit fb3a36133e
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@
// Add // when pressing enter from inside line comment
{
"beforeText": {
"pattern": "(?<!\\w:)\/\/.*"
"pattern": "(?<!\\\\)(?<!\\w:)\/\/.*"
},
"afterText": {
"pattern": "^(?!\\s*$).+"