From 3aa3214fde1b8d626972af659ea1e459ab02875c Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Tue, 16 Dec 2014 10:09:51 -0800 Subject: [PATCH] fix typo --- lib/jsdoc/doclet.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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];