Commit 60755c1
Fix Draft 3
Lookbehind assertions were added to ECMA-262 in ES2018 and are accepted
by every modern JavaScript engine, so "(?<=foo)bar" is in fact a valid
ECMA 262 regex. The existing test asserting otherwise no longer reflects
the specification.
I know we discourage work on older drafts but bear with me! I need good
Draft 3 support for my auto-upgrades :)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Co-authored-by: Juan Cruz Viotti <jviotti@sourcemeta.com>ecmascript-regex look-behind test (#906)1 parent e3525a5 commit 60755c1
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
0 commit comments