1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 info: Inside a CharacterClass, \b means the backspace character
6 es5id: 15.10.2.13_A3_T1
7 description: Execute /.[\b]./.exec("abc\bdef") and check results
10 var __executed = /.[\b]./.exec("abc\bdef");
12 var __expected = ["c\bd"];
14 __expected.input = "abc\bdef";
19 'The value of __executed.length is expected to equal the value of __expected.length'
25 'The value of __executed.index is expected to equal the value of __expected.index'
31 'The value of __executed.input is expected to equal the value of __expected.input'
34 for(var index=0; index<__expected.length; index++) {
38 'The value of __executed[index] is expected to equal the value of __expected[index]'