Page MenuHomePhabricator

D9414.diff
No OneTemporary

D9414.diff

diff --git a/externals/JsShrink/jsShrink.php b/externals/JsShrink/jsShrink.php
--- a/externals/JsShrink/jsShrink.php
+++ b/externals/JsShrink/jsShrink.php
@@ -13,7 +13,11 @@
(?:
(^|[-+\([{}=,:;!%^&*|?~]|/(?![/*])|return|throw) # context before regexp
(?:\s|//[^\n]*+\n|/\*(?:[^*]|\*(?!/))*+\*/)* # optional space
- (/(?![/*])(?:\\\\[^\n]|[^[\n/\\\\]|\[(?:\\\\[^\n]|[^]])++)+/) # regexp
+ (/(?![/*])(?:
+ \\\\[^\n]
+ |[^[\n/\\\\]++
+ |\[(?:\\\\[^\n]|[^]])++
+ )+/) # regexp
|(^
|\'(?:\\\\.|[^\n\'\\\\])*\'
|"(?:\\\\.|[^\n"\\\\])*"

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 7:30 PM (2 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6705794
Default Alt Text
D9414.diff (571 B)

Event Timeline