projects
/
chise
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d1495
)
change regular expression in &de_er
author
imiyazaki
<imiyazaki>
Thu, 23 Oct 2003 16:01:51 +0000
(16:01 +0000)
committer
imiyazaki
<imiyazaki>
Thu, 23 Oct 2003 16:01:51 +0000
(16:01 +0000)
Chise_utils/Chise_utils.pm
patch
|
blob
|
history
diff --git
a/Chise_utils/Chise_utils.pm
b/Chise_utils/Chise_utils.pm
index
2f40e75
..
5967978
100644
(file)
--- a/
Chise_utils/Chise_utils.pm
+++ b/
Chise_utils/Chise_utils.pm
@@
-242,7
+242,7
@@
sub de_er{
$output_char=pack("U",$er);
}elsif($er=~/^U[\+\-]([a-fA-F\d]+)/){
$output_char=pack("U",hex($1));
- }elsif($er=~/(?:I\-)?($er_prefix_re)\-?([0-9a-fA-F]+)/){
+ }elsif($er=~/^(?:I\-)?($er_prefix_re)\-?([0-9a-fA-F]+)$/){
($atr,$value)=($1,$2);
unless($er_alias{$atr}=~/daikanwa|gt/){
$value=hex($value);