Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-06-22 19:04:41


Peter Bindels wrote:

> When searching ASCII text, it's
> equal;

Not if you handle grapheme clusters.

If your text is "abcfoôdef", with ô coded as o + combining accent, then
searching for "foo" shouldn't work, since you would only find part of
the grapheme cluster and possibly do weird things if for example the
substring is removed.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk