Use regular expression instead of eval_instance