Lines Matching refs:match

20         $this->assertFalse($regex->apply("Hello", $match));
21 $this->assertEquals($match, "");
26 $this->assertTrue($regex->apply("", $match));
27 $this->assertEquals($match, "");
32 $this->assertTrue($regex->apply("Hello", $match));
33 $this->assertEquals($match, "Hello");
38 $this->assertTrue($regex->apply("abcdef", $match));
39 $this->assertEquals($match, "abc");
40 $this->assertTrue($regex->apply("AAABCabcdef", $match));
41 $this->assertEquals($match, "abc");
46 $this->assertTrue($regex->apply("abcdef", $match));
47 $this->assertEquals($match, "abc");
48 $this->assertTrue($regex->apply("AAABCabcdef", $match));
49 $this->assertEquals($match, "ABC");
55 $this->assertTrue($regex->apply("abcdef", $match));
56 $this->assertEquals($match, "abc");
57 $this->assertTrue($regex->apply("AAABCabcdef", $match));
58 $this->assertEquals($match, "ABC");
59 $this->assertFalse($regex->apply("Hello", $match));
65 $this->assertEquals($regex->apply("abcdef", $match), "letter");
66 $this->assertEquals($match, "abc");
67 $this->assertEquals($regex->apply("0123456789", $match), "number");
68 $this->assertEquals($match, "123");
75 $this->assertTrue($regex->apply("abcdef", $match));
76 $this->assertEquals($match, "abc");
77 $this->assertTrue($regex->apply("AAABCabcdef", $match));
78 $this->assertEquals($match, "ABC");
79 $this->assertTrue($regex->apply("a\nab", $match));
80 $this->assertEquals($match, "ab");
81 $this->assertFalse($regex->apply("Hello", $match));
86 $this->assertTrue($regex->apply("aBc", $match));
87 $this->assertEquals($match, "aBc");
92 $this->assertTrue($regex->apply("aaaaaa", $match));
93 $this->assertEquals($match, "a");
98 $this->assertTrue($regex->apply("xbyczd", $match));
99 $this->assertEquals($match, "y");
104 $this->assertTrue($regex->apply("xbyczd", $match));
105 $this->assertEquals($match, "b");
110 $this->assertTrue($regex->apply("xbyczd", $match));
111 $this->assertEquals($match, "z");
116 $this->assertTrue($regex->apply("xbyczd", $match));
117 $this->assertEquals($match, "c");