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