Ignore:
Timestamp:
Dec 13, 2017, 12:06:28 PM (20 months ago)
Author:
cameron
Message:

Remove RE compiler dependency on linebreak/mAny

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.cpp

    r5772 r5779  
    2424#include <re/re_cc.h>
    2525#include <re/casing.h>
     26#include <re/exclude_CC.h>
    2627#include <re/re_toolchain.h>
    2728#include <toolchain/toolchain.h>
     
    118119        REs[i] = resolveGraphemeMode(REs[i], false /* not in grapheme mode at top level*/);
    119120        REs[i] = re::resolveNames(REs[i]);
     121        REs[i] = exclude_CC(REs[i], re::makeCC(re::makeCC(0x0A, 0x0D), re::makeCC(re::makeCC(0x85), re::makeCC(0x2028, 0x2029))));
     122
    120123        const auto UnicodeSets = re::collectUnicodeSets(REs[i]);
    121124        std::vector<std::vector<unsigned>> exclusiveSetIDs;
Note: See TracChangeset for help on using the changeset viewer.