anchor.diff:    if (Condition and sfCapMask)<>0 then begin
      for Counter:=0 to TwoCountOfCaptures-1 do begin
       if (Condition and ((1 shl sfCapShift) shl Counter))<>0 then begin
  -     OnePassNFAWorkCaptures[Counter]:=CurrentPosition;
  +     OnePassNFAWorkSubMatches[Counter]:=CurrentPosition;
       end;
      end;
     end;
  
positive.code:  FreeParallelNFAStates:=nil;
   AllParallelNFAStates:=TList.Create;
  
   OnePassNFAWorkCaptures:=nil;
   OnePassNFAMatchCaptures:=nil;
  
   if Instance.OnePassNFAReady then begin
    SetLength(OnePassNFAWorkCaptures,Instance.CountSubMatches);
    SetLength(OnePassNFAMatchCaptures,Instance.CountSubMatches);
   end;
  
   BitStateNFACountVisited:=0;
   BitStateNFAJobs:=nil;
   BitStateNFACountJobs:=0;
   BitStateNFAMaxJob:=0;
   BitStateNFAWorkCaptures:=nil;
   BitStateNFAMatchCaptures:=nil;
  
   if Instance.BitStateNFAReady then begin
    SetLength(BitStateNFAWorkCaptures,Instance.CountSubMatches);
    SetLength(BitStateNFAMatchCaptures,Instance.CountSubMatches);
   end;
  
   DFAStackInstructions:=nil;
  
negative.code: 
   FreeAndNil(AllParallelNFAStates);
  
   SetLength(OnePassNFAWorkSubMatches,0);
   SetLength(OnePassNFAMatchSubMatches,0);
  
   SetLength(BitStateNFAJobs,0);
   SetLength(BitStateNFAWorkSubMatches,0);
   SetLength(BitStateNFAMatchSubMatches,0);
  
   DFADestroyStatePool(DFAStatePoolUsed);
   DFADestroyStatePool(DFAStatePoolFree);
  