Closed Dither closed 12 years ago
I'm sorry, I'm not sure what you're trying to say. Can you try explaining a bit more?
I mean that those characters in the regexp shouldn't be in url() at all so why to check for a strict fromat. This is just a one small expression instead of several huge if/else blocks and it can probably parse some misformatted strings like url(\"aaaa"), url('aaa'') etc.
Isn't checking for
'
,"
and optionally for\
more consistent this way:Also there is v2.3.7 of Base64 library already.