diff regexParser/cerium/ppe/Exec.cc @ 293:948428caf616

NFA maximum match worked
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 10:38:45 +0900
parents 868f01f1ba8e
children bcb3b0cd5604
line wrap: on
line diff
--- a/regexParser/cerium/ppe/Exec.cc	Mon Feb 01 21:52:57 2016 +0900
+++ b/regexParser/cerium/ppe/Exec.cc	Tue Feb 02 10:38:45 2016 +0900
@@ -26,7 +26,7 @@
     tsv.blk->resultEnd = &result;
     unsigned char *end = tsv.buff.buffend;
     tsv.buff.buffend = tsv.buff.buff+1;
-    tsv.matchBegin = NULL;
+    tsv.matchBegin = tsv.buff.buffptr;
     tsv.matchEnd = NULL;
     tsv = tSearch(tsv);
     tsv.blk->blockBegin = tsv.current;