CDN Regex URL Replacement misses URLs prefaced with parenthesis #25

Open
phikai opened this Issue Jun 6, 2014 · 0 comments

Projects

None yet

1 participant

@phikai
phikai commented Jun 6, 2014

In a case where you're defining a background url or other similar CSS case with the URL defined inside of a parenthesis, the regex misses these URLs. Example:

background: url('wp-content/themes/pax/img/icon-link-btn.png') no-repeat !important;

background: url("http://DOMAIN.COM/wp-content/uploads/2013/01/logo-blue.png") no-repeat scroll center center transparent !important;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment