Follow-up Comment #2, patch #3802 (project grep): The full story with this patch is that the grep built-in DFA actually pessimises rather than optimises when processing UTF-8. The idea of this patch is: if we are using UTF-8, disable grep's built-in DFA altogether.
(The DFA in glibc handles UTF-8 correctly, and fast.) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3802> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/