Files
tsgo/testdata/baselines/reference/compiler/regularExpressionQuantifierBounds1.errors.txt
880a9e9cb9 Port Regular Expressions checking (#3061)
Co-authored-by: =?UTF-8?q?=E5=BD=A2=E7=B4=A0=E5=8F=A2=E9=9B=86=E3=83=BB=E3=81=90?= =?UTF-8?q?=E3=82=89=E3=81=B5=E3=81=83=E3=83=BC=E3=82=80?= <[email protected]>
Co-authored-by: Jake Bailey <[email protected]>
Co-authored-by: Ron Buckton <[email protected]>
2026-03-16 19:25:47 +00:00

18 lines
675 B
Plaintext

regularExpressionQuantifierBounds1.ts(4,5): error TS1506: Numbers out of order in quantifier.
regularExpressionQuantifierBounds1.ts(5,5): error TS1506: Numbers out of order in quantifier.
==== regularExpressionQuantifierBounds1.ts (2 errors) ====
const regexes: RegExp[] = [
/a{7,8}/,
/a{9223372036854775807,9223372036854775808}/,
/a{8,7}/,
~~~
!!! error TS1506: Numbers out of order in quantifier.
/a{9223372036854775808,9223372036854775807}/,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS1506: Numbers out of order in quantifier.
/a{8,8}/,
/a{9223372036854775808,9223372036854775808}/,
];