benilla-re systems structs docs

IsLatin1Letter

function · unassigned · primitive

Address
0x6c9c60 · 79 bytes, up to 0x6c9cae
Meaning
Returns whether a 16-bit code is A to Z, a to z or a Latin-1 letter
Confidence
verified, proof one
Finding
ui/chatlanguage#splitting-a-line-into-words
Test
glue::name_charset_units_difftest

Finding: Splitting a line into words in ui: languages in chat

The line is read as UTF-8 (0x41aab0) and cut into runs of word characters and runs of anything else. A code point is a word character when it is A to Z, a to z, 0xc0 to 0xdd except 0xd7, 0xdf, or 0xe0 to 0xff except 0xf7 (0x6c9c60), an ASCII digit (0x6c9c30), ', or above 0xff; the last test also admits the value that marks a malformed byte. A run of other characters is written as one space on the chat path; with keepPunct it is copied unchanged, and with keepAngle a span from < to > is copied unchanged.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.