anchor.diff:   if result then begin
     SetLength(Captures,CountParens);
     for Counter:=0 to CountParens-1 do begin
  -   Captures[Counter].Start:=OnePassNFAMatchCaptures[Counter*2];
  -   Captures[Counter].Length:=OnePassNFAMatchCaptures[(Counter*2)+1]-OnePassNFAMatchCaptures[Counter*2];
  +   Captures[Counter].Start:=ThreadLocalStorage.OnePassNFAMatchCaptures[Counter*2];
  +   Captures[Counter].Length:=ThreadLocalStorage.OnePassNFAMatchCaptures[(Counter*2)+1]-ThreadLocalStorage.OnePassNFAMatchCaptures[Counter*2];
     end;
    end;
   
  
positive.code:        FreeSubMatches:PFLREParallelNFAState;
         AllSubMatches:TList;
  
         DFAStackInstructions:TPFLREInstructions;
         DFAStateCache:TFLREDFAStateHashMap;
         DFAAnchoredStartState:PFLREDFAState;
  
negative.code:  OnePassNFANodesCount:=0;
   OnePassNFAStart:=nil;
   OnePassNFAStateSize:=0;
  
   while assigned(OnePassNFACharClassActions) do begin
    NextCharClassAction:=OnePassNFACharClassActions^.AllNext;
  