I want to create a list allowed tokens but manage case insensitivity on them, ie I want to be able to put JaN20 or jan20 or JAN20. How can I do that, one option is to write all permutations but i’d prefer to avoid that if possible.
I think the easiest approach would be an external tokenizer—either make it responsible for parsing all identifiers, and have it distinguish these tokens, or have it recognize only these, and have a higher precedence than the built-in tokenizer.