mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
88 lines
7.7 KiB
Diff
88 lines
7.7 KiB
Diff
--- old.regularExpressionScanning(target=es2015).errors.txt
|
|
+++ new.regularExpressionScanning(target=es2015).errors.txt
|
|
@@= skipped -12, +12 lines =@@
|
|
regularExpressionScanning.ts(3,20): error TS1499: Unknown regular expression flag.
|
|
regularExpressionScanning.ts(3,21): error TS1500: Duplicate regular expression flag.
|
|
regularExpressionScanning.ts(3,22): error TS1499: Unknown regular expression flag.
|
|
+regularExpressionScanning.ts(5,5): error TS18062: Regular expression pattern modifiers are only available when targeting 'es2025' or later.
|
|
regularExpressionScanning.ts(5,6): error TS1499: Unknown regular expression flag.
|
|
regularExpressionScanning.ts(5,7): error TS1509: This regular expression flag cannot be toggled within a subpattern.
|
|
regularExpressionScanning.ts(5,10): error TS1509: This regular expression flag cannot be toggled within a subpattern.
|
|
@@= skipped -182, +183 lines =@@
|
|
regularExpressionScanning.ts(39,56): error TS1519: Operators must not be mixed within a character class. Wrap it in a nested class instead.
|
|
regularExpressionScanning.ts(39,67): error TS1005: '&&' expected.
|
|
regularExpressionScanning.ts(39,77): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
+regularExpressionScanning.ts(40,14): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(40,83): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
regularExpressionScanning.ts(41,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(41,30): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(41,83): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
regularExpressionScanning.ts(42,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
+regularExpressionScanning.ts(42,18): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(42,28): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(42,53): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(42,77): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
+regularExpressionScanning.ts(43,14): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(43,95): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
regularExpressionScanning.ts(44,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(44,34): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(44,95): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
regularExpressionScanning.ts(45,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
+regularExpressionScanning.ts(45,22): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(45,32): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(45,61): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
regularExpressionScanning.ts(45,89): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
@@= skipped -24, +28 lines =@@
|
|
regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
|
|
|
|
-==== regularExpressionScanning.ts (219 errors) ====
|
|
+==== regularExpressionScanning.ts (224 errors) ====
|
|
const regexes: RegExp[] = [
|
|
// Flags
|
|
/foo/visualstudiocode,
|
|
@@= skipped -36, +36 lines =@@
|
|
!!! error TS1499: Unknown regular expression flag.
|
|
// Pattern modifiers
|
|
/(?med-ium:bar)/,
|
|
+ ~~~~~~~
|
|
+!!! error TS18062: Regular expression pattern modifiers are only available when targeting 'es2025' or later.
|
|
~
|
|
!!! error TS1499: Unknown regular expression flag.
|
|
~
|
|
@@= skipped -399, +401 lines =@@
|
|
~
|
|
!!! error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
/[^\p{Emoji}\p{RGI_Emoji}][^\p{Emoji}--\p{RGI_Emoji}][^\p{Emoji}&&\p{RGI_Emoji}]/v,
|
|
+ ~~~~~~~~~~~~~
|
|
+!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
~
|
|
!!! error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
/[^\p{RGI_Emoji}\p{Emoji}][^\p{RGI_Emoji}--\p{Emoji}][^\p{RGI_Emoji}&&\p{Emoji}]/v,
|
|
@@= skipped -12, +14 lines =@@
|
|
/[^\p{RGI_Emoji}\q{foo}][^\p{RGI_Emoji}--\q{foo}][^\p{RGI_Emoji}&&\q{foo}]/v,
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
+ ~~~~~~~
|
|
+!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
@@= skipped -7, +9 lines =@@
|
|
~
|
|
!!! error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
/[^\p{Emoji}[[\p{RGI_Emoji}]]][^\p{Emoji}--[[\p{RGI_Emoji}]]][^\p{Emoji}&&[[\p{RGI_Emoji}]]]/v,
|
|
+ ~~~~~~~~~~~~~~~~~
|
|
+!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
~
|
|
!!! error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
/[^[[\p{RGI_Emoji}]]\p{Emoji}][^[[\p{RGI_Emoji}]]--\p{Emoji}][^[[\p{RGI_Emoji}]]&&\p{Emoji}]/v,
|
|
@@= skipped -11, +13 lines =@@
|
|
!!! error TS1501: This regular expression flag is only available when targeting 'es2024' or later.
|
|
/[^[[\p{RGI_Emoji}]]\q{foo}][^[[\p{RGI_Emoji}]]--\q{foo}][^[[\p{RGI_Emoji}]]&&\q{foo}]/v,
|
|
~~~~~~~~~~~~~~~~~
|
|
+!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
+ ~~~~~~~
|
|
!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|
|
~~~~~~~~~~~~~~~~~
|
|
!!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class.
|