Any-metacharacter with associated tests. Fix logic error in allMatch