Lines Matching refs:apply
20 $this->assertFalse($regex->apply("Hello", $match));
26 $this->assertTrue($regex->apply("", $match));
32 $this->assertTrue($regex->apply("Hello", $match));
38 $this->assertTrue($regex->apply("abcdef", $match));
40 $this->assertTrue($regex->apply("AAABCabcdef", $match));
46 $this->assertTrue($regex->apply("abcdef", $match));
48 $this->assertTrue($regex->apply("AAABCabcdef", $match));
55 $this->assertTrue($regex->apply("abcdef", $match));
57 $this->assertTrue($regex->apply("AAABCabcdef", $match));
59 $this->assertFalse($regex->apply("Hello", $match));
65 $this->assertEquals($regex->apply("abcdef", $match), "letter");
67 $this->assertEquals($regex->apply("0123456789", $match), "number");
75 $this->assertTrue($regex->apply("abcdef", $match));
77 $this->assertTrue($regex->apply("AAABCabcdef", $match));
79 $this->assertTrue($regex->apply("a\nab", $match));
81 $this->assertFalse($regex->apply("Hello", $match));
86 $this->assertTrue($regex->apply("aBc", $match));
92 $this->assertTrue($regex->apply("aaaaaa", $match));
98 $this->assertTrue($regex->apply("xbyczd", $match));
104 $this->assertTrue($regex->apply("xbyczd", $match));
110 $this->assertTrue($regex->apply("xbyczd", $match));
116 $this->assertTrue($regex->apply("xbyczd", $match));