Lines Matching refs:stickyglobal
66 var stickyglobal = /foo.bar/gy; variable
68 assertTrue(stickyglobal.test("foo*bar"));
69 assertEquals(7, stickyglobal.lastIndex);
70 assertFalse(stickyglobal.test("..foo*bar"));
71 stickyglobal.lastIndex = 0;
72 assertFalse(stickyglobal.test("..foo*bar"));
73 stickyglobal.lastIndex = 2;
74 assertTrue(stickyglobal.test("..foo*bar"));
75 assertEquals(9, stickyglobal.lastIndex);
90 assertEquals("/foo.bar/gy", "" + stickyglobal);
93 assertTrue(stickyglobal.sticky);
94 stickyglobal.sticky = false;
95 assertTrue(stickyglobal.sticky);