anchor.diff:      Memory:pointer;
       MultiCaptures:TFLREMultiCaptures;
       FileNameIndex,Count,Index,SubIndex,FirstNewLine,Mode,LastLineOffset,LastEndLineOffset,LineEndOffset,LineOffset,MaximumCount:longint;
  -    Parameter,Argument,RegularExpression,Directory,FileName:ansistring;
  -    HasRegularExpression,HasFileName,SuppressErrorMessages,Quiet,LineBuffered,ByteOffset,OnlyMatching,PrintFileName:boolean;
  +    Parameter,Argument,RegularExpression,Directory,FileName,MemoryString:ansistring;
  +    HasRegularExpression,HasFileName,SuppressErrorMessages,Quiet,LineBuffered,ByteOffset,OnlyMatching,PrintFileName,IsStdIn:boolean;
       RegularExpressionFlags:TFLREFlags;
  -    SplitCharacter:ansichar;
  +    SplitCharacter,BufferChar:ansichar;
       HighResolutionTimer:THighResolutionTimer;
       StartTime,EndTime:int64;
       FileNameList,StringList:TStringList;
  
positive.code:     PrintFileName:=FileNameList.Count>1;
      for FileNameIndex:=0 to FileNameList.Count-1 do begin
       FileName:=FileNameList[FileNameIndex];
       FileMappedStream:=TBeRoFileMappedStream.Create(FileName,fmOpenRead);
       try
        HighResolutionTimer:=THighResolutionTimer.Create;
        try
         Count:=0;
         StartTime:=HighResolutionTimer.GetTime;
         while FileMappedStream.Position<FileMappedStream.Size do begin
          SlidingOffset:=FileMappedStream.Position;
          ToDo:=FileMappedStream.Size-SlidingOffset;
          Memory:=FileMappedStream.Memory;
          MemoryViewSize:=FileMappedStream.MemoryViewSize;
          if ToDo>MemoryViewSize then begin
           ToDo:=MemoryViewSize;
          end;
          if ToDo=0 then begin
           break;
          end;
          LastLineOffset:=-1;
          LastEndLineOffset:=-1;
  
negative.code:          end;
  
          end;
          if assigned(FileMappedStream) then begin
           FileMappedStream.Seek(ToDo,soCurrent);
          end;
          if IsStdIn then begin
           inc(SlidingOffset,length(MemoryString));
          end;
         end;
         EndTime:=HighResolutionTimer.GetTime;
         case Mode of
  