diff options
| author | Ruben Rodriguez <ruben@fsf.org> | 2018-05-11 13:38:24 -0400 | 
|---|---|---|
| committer | Ruben Rodriguez <ruben@fsf.org> | 2018-05-11 13:38:24 -0400 | 
| commit | 60653666f2504ae7979880e4fcdd90f28facdc3c (patch) | |
| tree | a90c565218b2401c8440a39b27e21fa7cccb9a80 /pattern_utils.js | |
| parent | 37559e3cd93f58f23a7a3d3ec413fcbae22656e7 (diff) | |
Generalize comment styles for @license matching
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; | 
