diff options
Diffstat (limited to 'test/built-ins/RegExp')
-rw-r--r-- | test/built-ins/RegExp/named-groups/string-replace-unclosed.js | 3 | ||||
-rw-r--r-- | test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/built-ins/RegExp/named-groups/string-replace-unclosed.js b/test/built-ins/RegExp/named-groups/string-replace-unclosed.js index 0cec59b21..9cd28f3cb 100644 --- a/test/built-ins/RegExp/named-groups/string-replace-unclosed.js +++ b/test/built-ins/RegExp/named-groups/string-replace-unclosed.js @@ -2,7 +2,8 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -description: A missing > following $< means that the $< is taken literally +description: > + A missing > following $< means that the $< is taken literally in a replacement string in the context of named capture substitution. esid: sec-getsubstitution features: [regexp-named-groups] diff --git a/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js b/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js index a6c26e1e5..67a6ff4ee 100644 --- a/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js +++ b/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js @@ -2,8 +2,8 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -description: lastIndex is read and reset to 0 when global is set and the match - fails. +description: > + lastIndex is read and reset to 0 when global is set and the match fails. es6id: 21.2.5.2.2 info: | 21.2.5.2.2 Runtime Semantics: RegExpBuiltinExec ( R, S ) |