mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-01 05:02:35 +01: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:
@@ -231,7 +231,7 @@
|
||||
// Add // when pressing enter from inside line comment
|
||||
{
|
||||
"beforeText": {
|
||||
"pattern": "(?<!\\w:)\/\/.*"
|
||||
"pattern": "(?<!\\\\)(?<!\\w:)\/\/.*"
|
||||
},
|
||||
"afterText": {
|
||||
"pattern": "^(?!\\s*$).+"
|
||||
|
||||
Reference in New Issue
Block a user