Module char_range
Source - MAX_1B
- Largest 1-byte UTF-8 value.
- MAX_2B
- Largest packed 2-byte UTF-8 value.
- MAX_3B
- Largest packed 3-byte UTF-8 value.
- MAX_4B
- Largest packed 4-byte UTF-8 value.
- MIN_2B
- Smallest packed 2-byte UTF-8 value.
- MIN_3B
- Smallest packed 3-byte UTF-8 value.
- MIN_4B
- Smallest packed 4-byte UTF-8 value.
- add_character_range
- Add a
[min, max] range of packed UTF-8 codepoints to fsm,
splitting the range at byte-length boundaries. - add_same_length_range
- Decompose
[min, max] of packed UTF-8 values of the same byte
length into byte-range edges from state from to state to. - codepoint_to_packed_utf8
- Pack a unicode codepoint into the big-endian UTF-8 representation
used by
add_character_range.