anchor.diff:   end;
   end;
   
  -function TFLRE.PtrReplaceAll(const Input:pointer;const InputLength:longint;const AReplacement:pointer;const AReplacementLength:longint;const StartPosition:longint=0;Limit:longint=-1):ansistring;
  +function TFLRE.PtrReplaceAll(const Input:pointer;const InputLength:longint;const Replacement:pointer;const ReplacementLength:longint;const StartPosition:longint=0;Limit:longint=-1):ansistring;
   var CurrentPosition,Next,LastPosition,i,j,e:longint;
       Captures:TFLRECaptures;
       SimpleReplacement:boolean;
  
positive.code:  if assigned(Instance) then begin
    try
     if assigned(SQLExpression) then begin
      s:=TFLRE(Instance).GetPrefilterSQLExpression(Field);
      Len:=length(s);
      if Len>0 then begin
       GetMem(SQLExpression^,(Len+1)*SizeOf(AnsiChar));
       Move(s[1],SQLExpression^[0],Len);
       SQLExpression^[Len]:=#0;
      end else begin
       SQLExpression^:=nil;
      end;
      s:='';
     end;
     result:=1;
    except
  
negative.code:        function PtrMatch(const Input:pointer;const InputLength:longint;var Captures:TFLRECaptures;const StartPosition:longint=0):boolean;
         function PtrMatchNext(const Input:pointer;const InputLength:longint;var Captures:TFLRECaptures;const StartPosition:longint=0):boolean;
         function PtrMatchAll(const Input:pointer;const InputLength:longint;var MultiCaptures:TFLREMultiCaptures;const StartPosition:longint=0;Limit:longint=-1):boolean;
         function PtrReplaceAll(const Input:pointer;const InputLength:longint;const Replacement:pointer;const ReplacementLength:longint;const StartPosition:longint=0;Limit:longint=-1):ansistring;
  
         function Match(const Input:ansistring;var Captures:TFLRECaptures;const StartPosition:longint=1):boolean;
         function MatchNext(const Input:ansistring;var Captures:TFLRECaptures;const StartPosition:longint=1):boolean;
         function MatchAll(const Input:ansistring;var MultiCaptures:TFLREMultiCaptures;const StartPosition:longint=1;Limit:longint=-1):boolean;
         function ReplaceAll(const Input,Replacement:ansistring;const StartPosition:longint=1;Limit:longint=-1):ansistring;
  
         function GetRange(var LowRange,HighRange:ansistring):boolean;
  
  