mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
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.
|
description: Basic matching cases with non-unicode matches.
|
||||||
includes: [compareArray.js, propertyHelper.js, deepEqual.js]
|
includes: [compareArray.js, propertyHelper.js, deepEqual.js]
|
||||||
esid: sec-regexpbuiltinexec
|
esid: sec-regexpbuiltinexec
|
||||||
features: [regexp-match-indices]
|
features: [regexp-named-groups, regexp-match-indices]
|
||||||
info: |
|
info: |
|
||||||
Runtime Semantics: RegExpBuiltinExec ( R, S )
|
Runtime Semantics: RegExpBuiltinExec ( R, S )
|
||||||
...
|
...
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
description: Basic matching cases with non-unicode matches.
|
description: Basic matching cases with non-unicode matches.
|
||||||
includes: [compareArray.js, propertyHelper.js, deepEqual.js]
|
includes: [compareArray.js, propertyHelper.js, deepEqual.js]
|
||||||
esid: sec-regexpbuiltinexec
|
esid: sec-regexpbuiltinexec
|
||||||
features: [regexp-match-indices]
|
features: [regexp-named-groups, regexp-match-indices]
|
||||||
info: |
|
info: |
|
||||||
Runtime Semantics: RegExpBuiltinExec ( R, S )
|
Runtime Semantics: RegExpBuiltinExec ( R, S )
|
||||||
...
|
...
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
description: Basic matching cases with non-unicode matches.
|
description: Basic matching cases with non-unicode matches.
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
esid: sec-makeindicesarray
|
esid: sec-makeindicesarray
|
||||||
features: [regexp-match-indices]
|
features: [regexp-named-groups, regexp-match-indices]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.compareArray([1, 2], /(?<π>a)/du.exec("bab").indices.groups.π);
|
assert.compareArray([1, 2], /(?<π>a)/du.exec("bab").indices.groups.π);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user