This example causes an error "Unclosed regex pattern at position: 54468"
\JShrink\Minifier::minify(file_get_contents('http://demos.krajee.com/assets/c4d9a2f2/js/bootstrap-datetimepicker.js'));
Here is a simplified example, a string from a file.
\JShrink\Minifier::minify("return /t|hh?|HH?|p|P|z|Z|ii?|ss?|dd?|DD?|mm?|MM?|yy(?:yy)?/g;\n");
Is there anything you can do to get rid of the error?
Hello.
This example causes an error "Unclosed regex pattern at position: 54468"
\JShrink\Minifier::minify(file_get_contents('http://demos.krajee.com/assets/c4d9a2f2/js/bootstrap-datetimepicker.js'));
Here is a simplified example, a string from a file.
\JShrink\Minifier::minify("return /t|hh?|HH?|p|P|z|Z|ii?|ss?|dd?|DD?|mm?|MM?|yy(?:yy)?/g;\n");
Is there anything you can do to get rid of the error?