function GetIgnoreCase: boolean;
function GetUseRegExp: boolean;
public
+ constructor Create(Collection: TCollection); override;
function ExecuteReplace(TargetStr: string): string;
procedure Assign(Source: TPersistent); override;
procedure Clear;
end;
end;
+constructor TReplacePair.Create(Collection: TCollection);
+begin
+ inherited;
+ IgnoreCase := true;
+end;
+
function TReplacePair.ExecuteReplace(TargetStr: string): string;
var
Options: TReplaceFlags;