We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d171982 commit 23fac44Copy full SHA for 23fac44
grammars/jsdoc.cson
@@ -275,11 +275,12 @@
275
(=) # [foo=bar] Default parameter value
276
\\s*
277
(
278
+ # The inner regexes are to stop the match early at */ and to not stop at escaped quotes
279
(?:
280
"(?:(?:\\*(?!/))|(?:\\\\(?!"))|[^*\\\\])*?" | # [foo="bar"] Double-quoted
281
'(?:(?:\\*(?!/))|(?:\\\\(?!'))|[^*\\\\])*?' | # [foo='bar'] Single-quoted
282
\\[ (?:(?:\\*(?!/))|[^*])*? \\] | # [foo=[1,2]] Array literal
- (?:(?:\\*(?!/))|[^*])*? # Everything else, but stop the match early at */
283
+ (?:(?:\\*(?!/))|[^*])*? # Everything else
284
)*
285
)
286
)?
0 commit comments