Home | History | Annotate | Download | only in regex

Lines Matching refs:regexp

28 var regexp;
30 regexp = /(?=a){0}/gm;
31 debug("\nTesting regexp: " + regexp);
32 shouldBeTrue("regexp.test('a')");
33 shouldBe("regexp.lastIndex", "0");
35 regexp = /(?=a){1}/gm;
36 debug("\nTesting regexp: " + regexp);
37 shouldBeTrue("regexp.test('a')");
38 shouldBe("regexp.lastIndex", "0");
40 regexp = /(?!a){0}/gm;
41 debug("\nTesting regexp: " + regexp);
42 shouldBeTrue("regexp.test('b')");
43 shouldBe("regexp.lastIndex", "0");
45 regexp = /(?!a){1}/gm;
46 debug("\nTesting regexp: " + regexp);
47 shouldBeTrue("regexp.test('b')");
48 shouldBe("regexp.lastIndex", "0");