Thanks for that DFA fix, which should be much better than the previous workaround. I installed it into gnulib and installed the attached patch into grep.