Searched refs:stickyglobal2 (Results 1 – 1 of 1) sorted by relevance
97 var stickyglobal2 = new RegExp("foo.bar", "gy"); variable98 assertTrue(stickyglobal2.test("foo*bar"));99 assertEquals(7, stickyglobal2.lastIndex);100 assertFalse(stickyglobal2.test("..foo*bar"));101 stickyglobal2.lastIndex = 0;102 assertFalse(stickyglobal2.test("..foo*bar"));103 stickyglobal2.lastIndex = 2;104 assertTrue(stickyglobal2.test("..foo*bar"));105 assertEquals(9, stickyglobal2.lastIndex);107 assertEquals("/foo.bar/gy", "" + stickyglobal2);[all …]