Fixed off by one error and expected output text.

This commit is contained in:
rogerl%netscape.com 1999-08-04 23:38:34 +00:00
Родитель e5f9a7584d
Коммит 7c94044214
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -36,8 +36,8 @@
"/.\\1/",
"HI!" + String.fromCharCode(1),
"HI!+ String.fromCharCode(1)",
1,
["!1"] );
2,
["!\1"] );
// backreference
AddRegExpCases( /(.)\041/, "/(.)\\041/", "HI!", "HI!", 1, ["I!", "I"] );