diff --git a/src/JS.php b/src/JS.php index 806bf0ce..899ab3c7 100644 --- a/src/JS.php +++ b/src/JS.php @@ -198,7 +198,7 @@ protected function stripComments() $this->stripMultilineComments(); // single-line comments - $this->registerPattern('/\/\/.*$/m', ''); + $this->registerPattern('/(?