Lines Matching refs:stickyplainglobal
77 var stickyplainglobal = /foobar/yg; variable
78 assertTrue(stickyplainglobal.sticky);
79 stickyplainglobal.sticky = false;
81 assertTrue(stickyplainglobal.test("foobar"));
82 assertEquals(6, stickyplainglobal.lastIndex);
83 assertFalse(stickyplainglobal.test("..foobar"));
84 stickyplainglobal.lastIndex = 0;
85 assertFalse(stickyplainglobal.test("..foobar"));
86 stickyplainglobal.lastIndex = 2;
87 assertTrue(stickyplainglobal.test("..foobar"));
88 assertEquals(8, stickyplainglobal.lastIndex);