Closed JohnMurga closed 8 years ago
This should have been fixed by #513. Try it with the latest master, those regexps should work there.
@JohnMurga The issue with those RegExps is that they use curly braces as literals without escaping, which is non-standard syntax, the fix would be to escape, e.g.:
/{#this}/g --> /\{#this\}/g
But like @fatcerberus said, Duktape master now parses these non-standard regexps because they appear in quite many code bases.
Closing this as a closed duplicate to #142.
In code taken from Mocha and Chai :
Seems to work on V8 and Gecko
On Duktape I get :