Mercurial > hg > Applications > Grep
diff regexParser/CeriumGrep.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 | 3a95be4a5bb0 |
children | bdfe0a32c48f |
line wrap: on
line diff
--- a/regexParser/CeriumGrep.cc Mon Feb 01 21:52:57 2016 +0900 +++ b/regexParser/CeriumGrep.cc Tue Feb 02 10:38:45 2016 +0900 @@ -65,7 +65,7 @@ st_mmap_t st_mmap = createSt_mmap(filename,fd); Buffer buff = createBuffer(st_mmap); if (ts) threadedSearch(tgv.tg,buff); - else grepWalk(tgv.tg,buff); + else grepWalk(tgv.tg,buff.buffptr,buff); close(fd); }