word-break-next ( old-class new-char i str -- next-class ? )


Vocabulary
unicode.breaks.private

Inputs
old-classan object
new-charan object
ian object
stran object


Outputs
next-classan object
?an object


Definition


:: word-break-next
( old-class new-char i str -- next-class ? )
new-char word-break-prop :> new-class new-class
(format/extended?)
[ old-class dup { 1 2 3 } member? ] [
new-class old-class over word-table-nth
[ str i 1 - ] dip word-break?
] if ;