nashorn/test/script/basic/NASHORN-637.js.EXPECTED
author jlaskey
Fri, 21 Dec 2012 16:36:24 -0400
changeset 16147 e63b63819133
permissions -rw-r--r--
8005403: Open-source Nashorn Reviewed-by: attila, hannesw, lagergren, sundar Contributed-by: james.laskey@oracle.com, akhil.arora@oracle.com, andreas.woess@jku.at, attila.szegedi@oracle.com, hannes.wallnoefer@oracle.com, henry.jen@oracle.com, marcus.lagergren@oracle.com, pavel.semenov@oracle.com, pavel.stepanov@oracle.com, petr.hejl@oracle.com, petr.pisl@oracle.com, sundararajan.athijegannathan@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
/(?:[^[#\s\\]+|\\(?:[\S\s]|$)|\[\^?]?(?:[^\\\]]+|\\(?:[\S\s]|$))*]?)+|(\s*#[^\n\r\u2028\u2029]*\s*|\s+)([?*+]|{[0-9]+(?:,[0-9]*)?})?/g
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
/{[0-9]+}?/g
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
{123}
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
{a}
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
f{a}
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
f
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
SyntaxError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
SyntaxError