anchor.diff:    end;
   
     CountSubMatches:=CountCaptures*2;
  +
  +  CountInternalSubMatches:=CountInternalCaptures*2;
   
     CompilePrefix;
   
  
positive.code:       if rfLONGEST in Instance.Flags then begin
         if LastPosition<Position then begin
          LastPosition:=Position;
          for i:=0 to (Instance.CountCaptures*2)-1 do begin
           BitStateNFAMatchCaptures[i]:=BitStateNFAWorkCaptures[i];
          end;
         end;
        end else begin
         for i:=0 to (Instance.CountCaptures*2)-1 do begin
          BitStateNFAMatchCaptures[i]:=BitStateNFAWorkCaptures[i];
         end;
         exit;
  
negative.code:  OnePassNFAMatchCaptures:=nil;
  
   if Instance.OnePassNFAReady then begin
    SetLength(OnePassNFAWorkCaptures,Instance.CountSubMatches);
    SetLength(OnePassNFAMatchCaptures,Instance.CountSubMatches);
   end;
  
   BitStateNFACountVisited:=0;
  