From a36769ac7dd6cb086524dd6f383f496b41ec1263 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Sun, 15 Sep 2013 22:39:21 -0700 Subject: [PATCH] fix syntax issue --- lib/jsdoc/name.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/jsdoc/name.js b/lib/jsdoc/name.js index b3b97d4b..695c37f6 100644 --- a/lib/jsdoc/name.js +++ b/lib/jsdoc/name.js @@ -198,7 +198,8 @@ exports.shorten = function(longname, forcedMemberof) { // like /** @name foo.bar(2) */ if ( /(.+)\(([^)]+)\)$/.test(name) ) { - name = RegExp.$1, variation = RegExp.$2; + name = RegExp.$1; + variation = RegExp.$2; } //// restore quoted strings back again