On 05/24/2010 02:59 AM, Bruno Haible wrote:
+      /* Here, either end < buflim&&  *end == eol, or end == buflim.  */

        /* If we've made it to this point, this means DFA has seen
           a probable match, and we need to run it through Regex. */
-      best_match = end;
+      best_match = end + 1;

Shouldn't this be

  best_match = end + (end < buflim);

?

Otherwise, the patch seems okay.  Are you going to patch Fexecute too?

Thanks,

Paolo

Reply via email to