kripken/emscripten — pull request #2116 by svaarala (2014-02-11 21:41:21+00:00)
Title: Escape literal curly braces in a few regexps to improve portability

Unescaped curly braces intended literally are technically a SyntaxError in Ecmascript E5/E5.1 (although they do work in many if not most engines). This patch fixes a few regexps which prevented emscripten output from working in Duktape.