Abortive attempt to use generators to prove Query only contains valid characters