| OLD | NEW |
| (Empty) |
| 1 This page tests handling of malformed escape sequences. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 | |
| 7 Testing regexp: /\ug/gm | |
| 8 PASS regexp.test('ug') is true | |
| 9 PASS regexp.lastIndex is 2 | |
| 10 | |
| 11 Testing regexp: /\xg/gm | |
| 12 PASS regexp.test('xg') is true | |
| 13 PASS regexp.lastIndex is 2 | |
| 14 | |
| 15 Testing regexp: /\c_/gm | |
| 16 PASS regexp.test('\\c_') is true | |
| 17 PASS regexp.lastIndex is 3 | |
| 18 | |
| 19 Testing regexp: /[\B]/gm | |
| 20 PASS regexp.test('B') is true | |
| 21 PASS regexp.lastIndex is 1 | |
| 22 | |
| 23 Testing regexp: /[\b]/gm | |
| 24 PASS regexp.test('\b') is true | |
| 25 PASS regexp.lastIndex is 1 | |
| 26 | |
| 27 Testing regexp: /\8/gm | |
| 28 PASS regexp.test('\\8') is true | |
| 29 PASS regexp.lastIndex is 2 | |
| 30 | |
| 31 Testing regexp: /^[\c]$/ | |
| 32 PASS regexp.test('c') is true | |
| 33 | |
| 34 Testing regexp: /^[\c_]$/ | |
| 35 PASS regexp.test('c') is false | |
| 36 | |
| 37 Testing regexp: /^[\c]]$/ | |
| 38 PASS regexp.test('c]') is true | |
| 39 PASS successfullyParsed is true | |
| 40 | |
| 41 TEST COMPLETE | |
| 42 | |
| OLD | NEW |