Use more restrictive regular expression for markdown jsdoc content

Fixes #64455
This commit is contained in:
Matt Bierner 2018-12-05 14:05:01 -08:00
parent 514217add5
commit d7af2b0160

View file

@ -7,8 +7,8 @@
],
"repository": {
"markdown-comment": {
"begin": "^\\s*\\*(?!/)",
"while": "(^|\\G)\\s*\\*(?!/)",
"begin": "(?<=/\\*\\*)\\s*\n",
"while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)",
"patterns": [
{
"include": "text.html.markdown#fenced_code_block"