Might want to tweak this regex to make it just a bit more restrictive. I'd like to be extra sure we don't mangle anything unexpectedly: `/[\s:]url\(\s*(['"])?([^)'"]*)\1\s*\)/g`

The URL becomes the second subpattern match in this case, so the replacer function parameters will also need to change.