Changeset 5166 for icGREP


Ignore:
Timestamp:
Sep 26, 2016, 1:14:38 PM (3 years ago)
Author:
cameron
Message:

Fix so that matches are contained within line boundaries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_compiler.cpp

    r5137 r5166  
    189189        for (auto t : nameMap) {
    190190            if (t.second) {
    191                 mCompiledName.insert(std::make_pair(t.first, makeMarker(MarkerPosition::FinalMatchUnit, t.second)));
     191                mCompiledName.insert(std::make_pair(t.first, makeMarker(MarkerPosition::FinalMatchUnit, mPB.createAnd(t.second, mAny))));
    192192            }
    193193        }
Note: See TracChangeset for help on using the changeset viewer.