Create a case insensitive scanner so we don't segfault on things like OR instead of or