Skip to content

Commit

Permalink
Add test cases where the count is equal to the index.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Apr 24, 2024
1 parent 8608087 commit 11c444a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cases/compiler/regularExpressionScanning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const regexes: RegExp[] = [
/\0/,
/\1/,
/\2/,
/(hi)\1/,
/(hi) (hello) \2/,
/\2()(\12)(foo)\1\0[\0\1\01\123](\3\03)\5\005/,
/\2()(\12)(foo)\1\0[\0\1\01\123](\3\03)\5\005/u,
/(?<foo>)((?<bar>bar)bar)(?<baz>baz)|(foo(?<foo>foo))(?<baz>)/,
Expand Down

0 comments on commit 11c444a

Please sign in to comment.