grammatica.grammar.CharRange.char_ranges#

grammar.CharRange.char_ranges: list[tuple[str, str]]#

Character ranges in the form of tuples (start, end). Each range is inclusive, meaning both start and end characters are included. For example, (‘a’, ‘z’) includes all lowercase letters from ‘a’ to ‘z’.