mirror of https://github.com/tc39/test262.git
Add annotations for named capture groups in match indices tests
This commit is contained in:
parent
09485d387f
commit
ba82d46238
|
@ -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 )
|
||||
...
|
||||
|
|
|
@ -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 )
|
||||
...
|
||||
|
|
|
@ -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.π);
|
||||
|
|
Loading…
Reference in New Issue