Example #1
0
 /**
  * {@inheritdoc}
  */
 public static function match($entry)
 {
     $matchRegex = sprintf(self::$regexModel, self::$digitRegex);
     return (bool) (preg_match($matchRegex, trim($entry)) && parent::match(trim($entry)));
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public static function match($entry)
 {
     return (bool) (!IPV4::match(trim($entry)) && AbstractIP::match(trim($entry)));
 }