Update RegexBasedAbstract.php