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