Skip to content

Commit

Permalink
improve multiline comment regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 16, 2014
1 parent d4e194e commit 6800e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect-indent.js
Expand Up @@ -6,7 +6,7 @@
*/
(function () {
'use strict';
var RE_MULTILINE_COMMENTS = /\*(.|[\r\n])*?\*/;
var RE_MULTILINE_COMMENTS = /\/\*[\S\s]*?\*\//;
var RE_EMPTY_LINE = /^\s*$/;
var RE_LEADING_WHITESPACE = /^[ \t]+/;

Expand Down

0 comments on commit 6800e4f

Please sign in to comment.