drudru/ansi_up — pull request #5 by mantoni (2014-08-29 11:40:20+00:00)
Title: Fix regexp for IE 9

IE 9 (and maybe others) return html without any content within the span tags if [^] is used in the regexp.

You can verify by running your tests with [mochify](https://github.com/mantoni/mochify.js) (requires a free [SauceLabs](https://saucelabs.com/selenium/) account):

```
$ npm install mochify
```

Create a `.min-wd` file with this content:

```
{
"sauceLabs": true,
"browsers": [{
"name": "chrome"
}, {
"name": "firefox"
}, {
"name": "internet explorer",
"version": "9",
"url": "http://maxantoni.de/doctype.html"
}]
}
```

*Note: the "url" specified for IE is an empty web page that fixes the browser mode in a Selenium environment*

Then run

```
$ node_modules/.bin/mochify --wd
```

Pretty much every tests case fails in IE. Apply this patch and they are all green again.