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
(parent:
21958af
)
SafeRegExpの条件を絞る
author
C.Ponapalt
<ponapalt@shillest.net>
Thu, 11 Mar 2004 16:50:48 +0000
(16:50 +0000)
committer
C.Ponapalt
<ponapalt@shillest.net>
Thu, 11 Mar 2004 16:50:48 +0000
(16:50 +0000)
bottleclient/BottleDef.pas
patch
|
blob
|
history
diff --git
a/bottleclient/BottleDef.pas
b/bottleclient/BottleDef.pas
index
e15eaa2
..
fac853d
100755
(executable)
--- a/
bottleclient/BottleDef.pas
+++ b/
bottleclient/BottleDef.pas
@@
-475,7
+475,7
@@
begin
//Perl
\82
Ì
\90
³
\8b
K
\95
\
\8c
»
\8d
\
\95
¶
\82
É
\83
}
\83
b
\83
`
\82
·
\82
é
\90
³
\8b
K
\95
\
\8c
»
\82
Å
\83
`
\83
F
\83
b
\83
N
//k
\83
I
\83
v
\83
V
\83
\87
\83
\93
\82
Í
\8a
¿
\8e
\9a
\91
Î
\89
\9e
//#255(0xFF)
\82
Í
\82
\82
è
\82
¦
\82
È
\82
¢
\82
Ì
\82
Å
\82
±
\82
±
\82
Å
\97
\98
\97
p
- if not RegExp.Match('m
/^m?(.).+\1[ikms]{0,4}$/
k', Result) then
+ if not RegExp.Match('m
'#255'^m[/#({\[].+[/#)}\]][ikms]{1,4}$'#255'
k', Result) then
Result := 'm'#255 + Result + #255'k';
except
on EBRegExpError do