bug-libunistring
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-libunistring] Detecting word breaks one by one


From: Aleksander Morgado
Subject: [bug-libunistring] Detecting word breaks one by one
Date: Thu, 22 Apr 2010 13:14:48 +0200

Hi Bruno & all,

I was wondering if instead u8_wordbreaks() where the whole input string
is processed looking for wordbreaks, it would be possible to have a new
method to find just 'the next' wordbreak position.

This would help cases where for example there's a maximum number of
words to detect, as the whole string doesn't need to be processed. And
also wouldn't therefore need allocation of a new array just to store the
flags.

Cheers!

-- 
Aleksander





reply via email to

[Prev in Thread] Current Thread [Next in Thread]