diff options
Diffstat (limited to 'pattern_utils.js')
-rw-r--r-- | pattern_utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pattern_utils.js b/pattern_utils.js index b3e84d6..ce20842 100644 --- a/pattern_utils.js +++ b/pattern_utils.js @@ -33,7 +33,7 @@ exports.patternUtils = { return str.replace(regex, ''); }, removeWhitespace: function (str) { - return str.replace(/\s+/gmi, ''); + return str.replace(/\/\//gmi, '').replace(/\*/gmi, '').replace(/\s+/gmi, ''); }, replaceTokens: function (str) { var regex = /<.*?>/gi; |