URI.js icon indicating copy to clipboard operation
URI.js copied to clipboard

URI.find_uri_expression has regex that errors in IE for some languages

Open brianjmiller opened this issue 8 years ago • 1 comments

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.

brianjmiller avatar Aug 04 '17 14:08 brianjmiller

Interesting… any suggestion how to avoid this problem?

rodneyrehm avatar Aug 05 '17 08:08 rodneyrehm