URI.js
URI.js copied to clipboard
URI.find_uri_expression has regex that errors in IE for some languages
I don't really expect a change necessarily for this issue, but I wanted to make sure it got documented in case anyone else came across it. We've had two reports of IE throwing exception on the “”‘’ characters in the two regular expressions at:
https://github.com/medialize/URI.js/blob/gh-pages/src/URI.js#L222 https://github.com/medialize/URI.js/blob/gh-pages/src/URI.js#L229
This appears to be an issue when the browser's language is set to Simplified Chinese or when the "Language for non-Unicode Programs" region setting is set to Japanese.
Interesting… any suggestion how to avoid this problem?