mishoo/UglifyJS2 — pull request #402 by lautis (2014-01-19 10:36:32+00:00)
Title: Don't unescape byte order marks in regexps

If BOMs are unescaped, minifying UglifyJS itself produces code that cannot be parsed with UglifyJS parser. This adds BOM the the list of always escaped characters in regexp literals.

The bug can be replicated by minifying UglifyJS itself.

$ uglifyjs --self | uglifyjs
Parse error at -:3,0
Unexpected token: punc (})

The cause for this error is the following line:

```javascript
$TEXT.replace(/\r\n?|[\n\u2028\u2029]/g, "\n").replace(/^\uFEFF/, ''),
```

After #54, the unicode escape is unescaped.