parse() public méthode

public parse ( $value )
 public function testValidation()
 {
     $regex = new RegexType('#^Test$#');
     $this->assertTrue($regex->test('Test'));
     $this->assertFalse($regex->test('test'));
     $regex->option = '/^([a-z]+)$/';
     $this->assertTrue($regex->test('barfoo'));
     $this->assertFalse($regex->test('foobar234'));
     $ret = $regex->parse('foobar234');
     $this->assertNotNull($ret);
 }