예제 #1
0
 function testRegexp()
 {
     $string = "abc123edf";
     $this->assertEqual(FilterComponent::regexp($string, '/[1-9]/'), 'abcedf');
 }