close #6 (regex predicate)