Cheat and shell out to egrep to reduce the search space.