unicode-rs / unicode-normalization

Unicode Normalization forms according to UAX#15 rules
https://unicode-rs.github.io/unicode-normalization
Other
160 stars 42 forks source link

Handle multiple starters in the stream-safe fuzzer. #77

Closed sunfishcode closed 3 years ago

sunfishcode commented 3 years ago

NFC compositions can involve multiple starters, such as \u{11347} and \u{11357}. Adjust the counting iterator in the streaming fuzzer to only count non-starters, so that it doesn't over-count.

Fixes #76.