About Lezer token

Hi, I’m using lezer to try some new grammar. The grammar needs a case-none-sensitive match.
e.g.
@tokens {
Variable { $[V|v]$[A|a]$[R|r] “!” $[a-zA-Z_-0-9]+ }
}
I wonder is there any way to write things above like regex “/var/i” to ignore case sensitivity, and
it seems in the doc site I didn’t find it.

Thanks.

No, this doesn’t exist. In most cases an external specializer is the way to do this, but in this specific situation, where the insensitive part is part of a bigger token, the clunky syntax you provide is probably the easiest solution.