From 34486081234d1688dee7157e261cc02d4b2aecd8 Mon Sep 17 00:00:00 2001 From: "pschwartau%netscape.com" Date: Tue, 28 Jan 2003 01:14:15 +0000 Subject: [PATCH] Adding a missing escape to the regexp pattern to make it ECMA-correct. --- js/tests/js1_2/Objects/toString-001.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tests/js1_2/Objects/toString-001.js b/js/tests/js1_2/Objects/toString-001.js index a8105c14069f..33976bdb91cc 100644 --- a/js/tests/js1_2/Objects/toString-001.js +++ b/js/tests/js1_2/Objects/toString-001.js @@ -100,7 +100,7 @@ function test() { * resulting string is some permutation of the strings in the array. */ function checkObjectToString(s, a) { - var m = /^{(.*)\}$/(s); + var m = /^\{(.*)\}$/(s); if (!m) return false; // should begin and end with curly brackets var a2 = m[1].split(", ");