1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-13 17:44:00 +02:00

JSMin.php : Added regexp bug workaround to docblock

This commit is contained in:
Steve Clay
2008-10-15 22:25:26 +00:00
parent 24b3688c51
commit 66af3abab3

View File

@@ -11,6 +11,11 @@
* comments that begin with "/*!" (for documentation purposes). In the latter case
* newlines are inserted around the comment to enhance readability.
*
* Known issue: regular expressions containing quote characters must be proceeded
* by one of the following characters: (,=:[!&|?
* E.g. JSMin will fail on the following: return /'/;
* The simple workaround is to wrap the expression in parenthesis: return (/'/);
*
* PHP 5 or higher is required.
*
* Permission is hereby granted to use this version of the library under the