OSDN Git Service
(root)
/
winbottle
/
winbottle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
aecd145
)
大文字・小文字を区別しないのをデフォルトにした
author
naru
<bottle@mikage.to>
Sat, 20 Mar 2004 08:24:29 +0000
(08:24 +0000)
committer
naru
<bottle@mikage.to>
Sat, 20 Mar 2004 08:24:29 +0000
(08:24 +0000)
bottleclient/StrReplace.pas
patch
|
blob
|
history
diff --git
a/bottleclient/StrReplace.pas
b/bottleclient/StrReplace.pas
index
f2c3a02
..
fa014e4
100644
(file)
--- a/
bottleclient/StrReplace.pas
+++ b/
bottleclient/StrReplace.pas
@@
-34,6
+34,7
@@
type
function GetIgnoreCase: boolean;
function GetUseRegExp: boolean;
public
function GetIgnoreCase: boolean;
function GetUseRegExp: boolean;
public
+ constructor Create(Collection: TCollection); override;
function ExecuteReplace(TargetStr: string): string;
procedure Assign(Source: TPersistent); override;
procedure Clear;
function ExecuteReplace(TargetStr: string): string;
procedure Assign(Source: TPersistent); override;
procedure Clear;
@@
-118,6
+119,12
@@
begin
end;
end;
end;
end;
+constructor TReplacePair.Create(Collection: TCollection);
+begin
+ inherited;
+ IgnoreCase := true;
+end;
+
function TReplacePair.ExecuteReplace(TargetStr: string): string;
var
Options: TReplaceFlags;
function TReplacePair.ExecuteReplace(TargetStr: string): string;
var
Options: TReplaceFlags;