98762d6ee0
Co-authored-by: Akhil Arora <akhil.arora@oracle.com> Co-authored-by: Andreas Woess <andreas.woess@jku.at> Co-authored-by: Attila Szegedi <attila.szegedi@oracle.com> Co-authored-by: Hannes Wallnoefer <hannes.wallnoefer@oracle.com> Co-authored-by: Henry Jen <henry.jen@oracle.com> Co-authored-by: Marcus Lagergren <marcus.lagergren@oracle.com> Co-authored-by: Pavel Semenov <pavel.semenov@oracle.com> Co-authored-by: Pavel Stepanov <pavel.stepanov@oracle.com> Co-authored-by: Petr Hejl <petr.hejl@oracle.com> Co-authored-by: Petr Pisl <petr.pisl@oracle.com> Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com> Reviewed-by: attila, hannesw, lagergren, sundar
9 lines
189 B
Plaintext
9 lines
189 B
Plaintext
/(?:[^[#\s\\]+|\\(?:[\S\s]|$)|\[\^?]?(?:[^\\\]]+|\\(?:[\S\s]|$))*]?)+|(\s*#[^\n\r\u2028\u2029]*\s*|\s+)([?*+]|{[0-9]+(?:,[0-9]*)?})?/g
|
|
/{[0-9]+}?/g
|
|
{123}
|
|
{a}
|
|
f{a}
|
|
f
|
|
SyntaxError
|
|
SyntaxError
|