anchor.diff:   end;
   
    if TrySearch(StartInstruction,Position) then begin
  -  SetLength(Captures,Instance.CountParens);
  -  for Counter:=0 to Instance.CountParens-1 do begin
  +  SetLength(Captures,Instance.CountCaptures);
  +  for Counter:=0 to Instance.CountCaptures-1 do begin
      Captures[Counter].Start:=BitStateNFAMatchCaptures[Counter*2];
      Captures[Counter].Length:=BitStateNFAMatchCaptures[(Counter*2)+1]-BitStateNFAMatchCaptures[Counter*2];
     end;
  
positive.code:  finally
    LocalLowRange:='';
    LocalHighRange:='';
   end;
  end;
  
  
negative.code:  end;
  begin
  
   TwoCountOfCaptures:=Instance.CountSubMatches;
  
   LocalInput:=Input;
   LocalInputLength:=InputLength;
  