A rule that impacts linebreaking. Looking ahead and behind one code point
is fast, using state.prev and state.next respectively. Looking ahead
more code points is possible with *BreakerState.codePoints(), but be
careful of causing ReDos vulnerabilities.
A rule that impacts linebreaking. Looking ahead and behind one code point is fast, using
state.prev
andstate.next
respectively. Looking ahead more code points is possible with*BreakerState.codePoints()
, but be careful of causing ReDos vulnerabilities.