Changeset 1576
- Timestamp:
- 11/15/07 16:03:33 (12 months ago)
- Location:
- lang/perl/Geography-AddressExtract-Japan/trunk
- Files:
-
- 1 added
- 2 removed
- 2 modified
-
lib/Geography/AddressExtract/Japan.pm (modified) (1 diff)
-
lib/Geography/AddressExtract/Japan/Filter (added)
-
lib/Geography/AddressExtract/Japan/Normalize (deleted)
-
lib/Geography/AddressExtract/Japan/Normalize.pm (deleted)
-
test.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Geography-AddressExtract-Japan/trunk/lib/Geography/AddressExtract/Japan.pm
r1574 r1576 116 116 } 117 117 118 if ($opt->{aza} && $opt->{aza} =~ /\p{Han} +([�Ƥˤ�ؤΤˤ���].*)$/) {118 if ($opt->{aza} && $opt->{aza} =~ /\p{Han}([�Ƥˤ�ؤΤˤ���])$/) { 119 119 my $prefix = $1; 120 120 $opt->{aza} =~ s/$prefix$//; 121 121 $opt->{number} = ''; 122 122 $opt->{match_text} =~ s/($opt->{aza}).+$/$1/; 123 } 124 125 if ($opt->{aza} && $opt->{aza} =~ /^(?:[�̱]|���|�İ����߽�)$/) { 126 $opt->{aza} = ''; 127 $opt->{number} = ''; 128 $opt->{match_text} = $opt->{city}; 123 129 } 124 130 -
lang/perl/Geography-AddressExtract-Japan/trunk/test.pl
r1574 r1576 78 78 79 79 ���Ա�Į�ˤ���K 80 81 �������ɶ迷��54-1 82 078-959 80 83 '); 81 84
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)