OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 assertEquals("a", RegExp.$1); |
| 6 assertEquals("b", RegExp.$2); |
| 7 assertEquals("c", RegExp.$3); |
| 8 assertEquals("d", RegExp.$4); |
| 9 assertEquals("e", RegExp.$5); |
| 10 assertEquals("f", RegExp.$6); |
| 11 assertEquals("g", RegExp.$7); |
| 12 assertEquals("h", RegExp.$8); |
| 13 assertEquals("i", RegExp.$9); |
| 14 |
| 15 assertEquals("abcdefghij", RegExp.lastMatch); |
| 16 assertEquals("j", RegExp.lastParen); |
| 17 assertEquals(">>>", RegExp.leftContext); |
| 18 assertEquals("<<<", RegExp.rightContext); |
| 19 assertEquals(">>>abcdefghij<<<", RegExp.input); |
OLD | NEW |