Fix broken regex of OR condition for fold marker. Fixes #37531
This commit is contained in:
parent
43eb032f54
commit
abaf393e9d
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@
|
|||
],
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*//\\s*(#?region\\b)|(<editor-fold\\b)",
|
||||
"end": "^\\s*//\\s*(#?endregion\\b)|(</editor-fold>)"
|
||||
"start": "^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))",
|
||||
"end": "^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue