Fix predicate regexp.