joelpurra/editdidwhat — Issue #1: getCount fails RegExp tests in IE7/IE8
Author: joelpurra
Created: 2012-02-15 12:02:13+00:00
State: open
Labels: Bug, Confirmed bug, Internet Explorer, Internet Explorer 7, Internet Explorer 8, Tests fail

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

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

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