To manage all the permutations of this key: mess
a possible solution can be:
key : 'mess' | 'MESS'| 'meSs'| 'mEss'| 'Mess'| 'mESs'| 'MeSs'| 'MEss';
or maybe something like:
key: MESS;
MESS: M E S S;
fragment M: [mM];
fragment E: [eE];
fragment S: [sS];
is there a better solution to manage this permutation? considering having several similar case