mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Removing double slash from wtihin regex in onEnter rule (#242679)
removing double slash from wtihin regex in onEnter rule
This commit is contained in:
committed by
GitHub
parent
5ff58539b4
commit
fb3a36133e
@@ -249,7 +249,7 @@
|
||||
// Add // when pressing enter from inside line comment
|
||||
{
|
||||
"beforeText": {
|
||||
"pattern": "(?<!\\w:)\/\/.*"
|
||||
"pattern": "(?<!\\\\)(?<!\\w:)\/\/.*"
|
||||
},
|
||||
"afterText": {
|
||||
"pattern": "^(?!\\s*$).+"
|
||||
|
||||
Reference in New Issue
Block a user