From c6aee9332083791e82854080a73f94de75a80007 Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Thu, 23 Oct 2003 16:01:51 +0000 Subject: [PATCH] change regular expression in &de_er --- Chise_utils/Chise_utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chise_utils/Chise_utils.pm b/Chise_utils/Chise_utils.pm index 2f40e75..5967978 100644 --- 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); -- 1.7.10.4