isWordEnd

var isWordEnd: <Error class: unknown class>

is first non-word char after a word Note that in degenerate cases, you could have both @is_word_start and @is_word_end set for some character.