Add annotations for named capture groups in match indices tests

This commit is contained in:
Neil Dhar 2021-10-22 14:43:16 -07:00 committed by Rick Waldron
parent 09485d387f
commit ba82d46238
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
description: Basic matching cases with non-unicode matches.
includes: [compareArray.js, propertyHelper.js, deepEqual.js]
esid: sec-regexpbuiltinexec
features: [regexp-match-indices]
features: [regexp-named-groups, regexp-match-indices]
info: |
Runtime Semantics: RegExpBuiltinExec ( R, S )
...

View File

@ -5,7 +5,7 @@
description: Basic matching cases with non-unicode matches.
includes: [compareArray.js, propertyHelper.js, deepEqual.js]
esid: sec-regexpbuiltinexec
features: [regexp-match-indices]
features: [regexp-named-groups, regexp-match-indices]
info: |
Runtime Semantics: RegExpBuiltinExec ( R, S )
...

View File

@ -5,7 +5,7 @@
description: Basic matching cases with non-unicode matches.
includes: [compareArray.js]
esid: sec-makeindicesarray
features: [regexp-match-indices]
features: [regexp-named-groups, regexp-match-indices]
---*/
assert.compareArray([1, 2], /(?<π>a)/du.exec("bab").indices.groups.π);