Remove previous logic in RegexPredicateEval