Mercurial > hg > Applications > Grep
diff regexParser/cerium/ppe/Print.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 | 87a801c14117 |
children | c5a7caa37f61 |
line wrap: on
line diff
--- a/regexParser/cerium/ppe/Print.cc Mon Feb 01 21:52:57 2016 +0900 +++ b/regexParser/cerium/ppe/Print.cc Tue Feb 02 10:38:45 2016 +0900 @@ -37,7 +37,7 @@ #endif if ((prevBlockEnd->bitState.bitContainer & ~blockBegin->bitState.bitContainer)==0) { // 前のブロックの matchBegin から最初 result の end までがマッチ - fwrite(prev->begin,r->end - prev->begin-1,1,stdout); + fwrite(prev->begin,r->end - prev->begin,1,stdout); // printf("####"); if (!r->continued) puts(""); }