anchor.diff:     end;
     end;
    end;
  + 
   end;
   
   constructor TFLREThreadLocalStorageInstance.Create(AInstance:TFLRE);
  
positive.code:     Flags,PreviousChar,CurrentChar:longword;
  begin
   result:=DFAFail;
   LocalInput:=ThreadLocalStorageInstance.Input;
   LocalInputLength:=ThreadLocalStorageInstance.InputLength;
   begin
    if (StartPosition>=0) and (StartPosition<=ThreadLocalStorageInstance.InputLength) then begin
     if rfUTF8 in Instance.Flags then begin
  
negative.code:    end;
    end;
   end;
  
  end;
  
  function TFLREDFA.SearchMatchFullReversed(const StartPosition,UntilIncludingPosition:longint;out MatchBegin:longint):longint;
  var Position,Start,NextPosition,LocalInputLength:longint;
      State,LastState:PFLREDFAState;
      StartState:PPFLREDFAState;
      StartInstruction:PFLREInstruction;
      LocalInput:pansichar;
      Flags,NextChar,CurrentChar:longword;
  begin
   result:=DFAFail;
   LocalInput:=ThreadLocalStorageInstance.Input;
   LocalInputLength:=ThreadLocalStorageInstance.InputLength;
  
   begin
    if StartPosition=(ThreadLocalStorageInstance.InputLength-1) then begin
     Start:=sskBeginText;
     Flags:=sfEmptyBeginText or sfEmptyBeginLine;
    end else begin
     if (rfUTF8 in Instance.Flags) and ((byte(ansichar(LocalInput[StartPosition])) and $80)<>0) then begin
      NextPosition:=StartPosition;
      UTF8PtrSafeInc(LocalInput,LocalInputLength,NextPosition);
      if (NextPosition>=0) and (NextPosition<ThreadLocalStorageInstance.InputLength) then begin
       NextChar:=UTF8PtrCodeUnitGetCharFallback(LocalInput,ThreadLocalStorageInstance.InputLength,NextPosition);
      end else begin
       NextChar:=$ffffffff;
      end;
     end else begin
      NextChar:=byte(ansichar(LocalInput[StartPosition+1]));
     end;
     case NextChar of
      $0a,$0d,$85,$2028,$2029:begin
       Start:=sskBeginLine;
       Flags:=sfEmptyBeginLine;
      end;
      else begin
       if Instance.IsWordChar(NextChar) then begin
        Start:=sskAfterWordChar;
        Flags:=sfDFALastWord;
       end else begin
  