Ignore:
Timestamp:
Mar 9, 2018, 2:59:59 PM (19 months ago)
Author:
cameron
Message:

Start-of-text and End-of-text boundary assertions

File:
1 edited

Legend:

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

    r5881 r5896  
    139139   
    140140    // Break at the start and end of text.
    141     RE * GCB_1 = makeStart();
    142     RE * GCB_2 = makeEnd();
     141    RE * GCB_1 = makeSOT();
     142    RE * GCB_2 = makeEOT();
    143143    // Do not break between a CR and LF.
    144144    RE * GCB_3 = makeSeq({Behind(GCB_CR), Ahead(GCB_LF)});
Note: See TracChangeset for help on using the changeset viewer.