/var/www/vhosts/nabawater/common/vendor/Addendum/Parser
Edit: /var/www/vhosts/nabawater/common/vendor/Addendum/Parser/RegexMatcher.php (557B)
regex = $regex;
}
public function matches($string, &$value)
{
if(preg_match("/^{$this->regex}/", $string, $matches))
{
$value = $this->process($matches);
return strlen($matches[0]);
}
$value = false;
return false;
}
protected function process($matches)
{
return $matches[0];
}
}