Closed ptal closed 8 years ago
#[ignore_case] rule = "primary"
PrimAry, PRIMARY or primary will match. This is useful for language such as SQL that ignores case.
This should not be an annotation. Actually we can provide a Stream type such that its method check_prefix doesn't take into account the case. Therefore, no change to the grammar required.
check_prefix
PrimAry, PRIMARY or primary will match. This is useful for language such as SQL that ignores case.