Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Internet Explorer #12

Closed
JamesHabben opened this issue Dec 2, 2014 · 6 comments
Closed

Error in Internet Explorer #12

JamesHabben opened this issue Dec 2, 2014 · 6 comments

Comments

@JamesHabben
Copy link

pattern using character ranges in square brackets when using Internet Explorer causes "unterminated character class" error. Same pattern does not error in Chrome. [0-4]

regulex-ie-error

@CJex
Copy link
Owner

CJex commented Dec 3, 2014

Sorry,it's my fault. But currently I have no Windows IE to test. I'll try to install Windows in Virtualbox on my linux laptop to test it later. I guess possiblely this error is caused by string index.

Could you attach a screenshot of the dev console with detailed error message?

@JamesHabben
Copy link
Author

When I bring up the F12 developer tools, I get an error about a load timeout on require.min.js and I don't get the same error as displayed in the screen above. The page doesn't function at all, and I am not real familiar with the F12 tools in IE.
regulex-ie-error2

@kunapyanov
Copy link

regulex
Same error in IE 10. Rule like [0-9] works. Maybe it helps. There is no error in my console.

@JamesHabben
Copy link
Author

Mine is IE 11

CJex added a commit that referenced this issue Dec 13, 2014
@CJex
Copy link
Owner

CJex commented Dec 13, 2014

Now Fixed.
UglifyJS unescape my unicode escape "\uFFFF".
IE recognize U+FFFF in source code string as U+FFFD.

UglifyJS2's new version may have fixed this problem:

@CJex CJex closed this as completed Dec 13, 2014
@JamesHabben
Copy link
Author

Looks fixed from my view. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants