You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pegjs/docs/grammar/case-insensitivity.md

415 B

Case-insensitivity

Appending i right after either a literal or a a character set makes the match case-insensitive. The rules shown in the following example all produce the same result:

// without `i`
a1 = "a" / "b" / "c" / "A" / "B" / "C"
b1 = [a-cA-C]

// with `i`
a2 = "a"i / "b"i / "c"i
b2 = [a-c]i