On 03/14/2010 05:10 PM, Norihiro Tanaka wrote:
Hi,
When a line matches with kwset and fails in the is_mb_middle test,
bug#23814 is caused by not checking following of the line (Never looks
for the second match for the line.) .
In this case, by matching kwset for following, the bug will be solved.
For a simple pattern which doesn't contain the wild-card and the
repetition expression, I think that dfaexec is unnecessary and only
kwsexec is needed as well as fgrep.
All true however, with enough heavy changes going into grep, I preferred
a slightly suboptimal patch for what is after all a very rare case.
Paolo