Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14028037
D9414.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
571 B
Referenced Files
None
Subscribers
None
D9414.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 11:31 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6705794
Default Alt Text
D9414.diff (571 B)
Attached To
Mode
D9414: Update `JsShrink` external library.
Attached
Detach File
Event Timeline
Log In to Comment