#27 regular expressions not recognised

closed
nobody
None
5
2009-10-22
2008-10-04
No

A regular expression used as:
const re = /^{([^}]*)}$/;
isn't recognised by jsl:
test.js
/tmp/test.js(1): SyntaxError: invalid quantifier {
const re = /^{([^}]*)}$/;
...........^

Discussion

  • This is working in the Python version (in trunk).

     
    • status: open --> closed