Fixed ImageAdvanced class ereg->preg_match