anchor.diff:   OnePassNFANodesCount:=0;
    OnePassNFAStart:=nil;
    OnePassNFAStateSize:=0;
  - SetLength(OnePassNFAWorkCaptures,0);
  - SetLength(OnePassNFAMatchCaptures,0);
   
    while assigned(OnePassNFACharClassActions) do begin
     NextCharClassAction:=OnePassNFACharClassActions^.AllNext;
  
positive.code:      (((Condition and sfMatchWins)<>0) or ((NextMatchCondition and sfEmptyAllFlags)<>0)) and
       (((MatchCondition and sfEmptyAllFlags)=0) or Satisfy(MatchCondition)) then begin
     for Counter:=0 to TwoCountOfCaptures-1 do begin
      OnePassNFAMatchCaptures[Counter]:=OnePassNFAWorkCaptures[Counter];
     end;
     if (MatchCondition and sfCapMask)<>0 then begin
      for Counter:=0 to TwoCountOfCaptures-1 do begin
       if (Condition and ((1 shl sfCapShift) shl Counter))<>0 then begin
        OnePassNFAMatchCaptures[Counter]:=CurrentPosition;
       end;
      end;
     end;
  
negative.code:  OnePassNFANodesCount:=0;
   OnePassNFAStart:=nil;
   OnePassNFAStateSize:=0;
   OnePassNFACharClassActions:=nil;
   OnePassNFAReady:=false;
  
  