mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-02-23 01:52:36 +01:00
Merge branch 'feature/fix-tests'
This commit is contained in:
commit
a51f4eb6d9
@ -211,7 +211,7 @@ class JS extends Minify
|
||||
};
|
||||
|
||||
// it's a regex if we can find an opening and (not escaped) closing /,
|
||||
$pattern = '(\/.*?(?<!\\\\)(\\\\\\\\)*+\/\n?)';
|
||||
$pattern = '(\/.*?(?<!\\\\)(\\\\\\\\)*+\/)';
|
||||
|
||||
// / can't be preceded by variable, value, or similar because then
|
||||
// it's going to be division
|
||||
|
Loading…
x
Reference in New Issue
Block a user