Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

getCount fails RegExp tests in IE7/IE8 #1

Open
joelpurra opened this issue Feb 15, 2012 · 1 comment
Open

getCount fails RegExp tests in IE7/IE8 #1

joelpurra opened this issue Feb 15, 2012 · 1 comment

Comments

@joelpurra
Copy link
Owner

Seems to be an issue with how IE7/IE8 interprets the RexExp, or applies RegExp in str.split(rx).

return str.split(subpattern).length - 1;

The returned array has a .length of 0 for most tests.

@joelpurra
Copy link
Owner Author

Either simplify the code, remove the functionality, or use XRegExp and their ECMA-262 v3 §15.5.4.14, pp.103,104 compliant implementation. Try out .split(rx) demo in IE7/8.

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

No branches or pull requests

1 participant