Related to my earlier question about keyword mismatch using random expressions.
Is it possible to match case insensitive strings in Marpa ? If so, how?
Suppose I have a grammar
:start ::= script identifier ~ [\w]+ script ::= 'script' identifier code code ::= command* command ::= 'run' | 'walk' | 'stop'
How can I match any of a script , script , script or any other combination of lower and upper case letters?
regex case-insensitive marpa
onitake
source share