diff --git a/lib/jsdoc/doclet.js b/lib/jsdoc/doclet.js index f2216d32..4e7eceff 100644 --- a/lib/jsdoc/doclet.js +++ b/lib/jsdoc/doclet.js @@ -96,10 +96,9 @@ function toTags(docletSrc) { .split('\\@') .forEach(function($) { if ($) { - parsedTag = $.match(/^(\S+)(:?\s+(\S[\s\S]*))?/); + parsedTag = $.match(/^(\S+)(?:\s+(\S[\s\S]*))?/); if (parsedTag) { - // we don't need parsedTag[0] tagTitle = parsedTag[1]; tagText = parsedTag[2];