Hi there! I came across this issue too, but I was very surprised not to see that this is happening under grep 2.7-2 (experimental tree version)... So I found this at upstream's VCS:
dfa: fall back to glibc matcher if a MBCSET is found
This patch enables full support of equivalence classes and
multicharacter
collation symbols. It can also improve performance problems in some
cases for multibyte grep. Both of these changes however depend
on the
glibc version installed in the system.
For UTF-8 it will trigger only in the presence of MBCSET, e.g.
[a-z].
For other character sets all brackets and `.` as well will
trigger it.
Anibal, do you think there would be a chance to backport this? It
appears to be quite a gain for everyone.
Thanks in advance.
Cheers,
Dererk
--
BOFH excuse #211:
Lightning strikes.
signature.asc
Description: OpenPGP digital signature

