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.
