Changeset 1573
- Timestamp:
- 11/15/07 16:03:29 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Geography-AddressExtract-Japan/trunk/lib/Geography/AddressExtract/Japan.pm
r1572 r1573 67 67 $opt{aza} = $2 if $2; 68 68 $opt{number} = $3 if $3; 69 70 $self->normalize($', \%opt);#'); 71 72 push @{ $self->{addresses} }, Geography::AddressExtract::Japan::Address->new(%opt); 69 $self->normalize($', \%opt);#'); 70 push @{ $self->{addresses} }, Geography::AddressExtract::Japan::Address->new(%opt); 73 71 } 74 72 } … … 78 76 79 77 if ($opt->{number} && $opt->{number} =~ /^([���������岼])/) { 80 my $prefix = $1; 81 if ($right =~ /^((?:��?)?[-���ݤΥ�?(?:(?:(?:[���������Ȭ����)?[���������Ȭ�塻]+|\d+)|[a-zA-Z����)��/) { 82 my $append = $1; 83 $opt->{aza} .= $prefix; 84 $opt->{number} =~ s/^$prefix//; 85 $opt->{number} .= $append; 86 } 78 my $prefix = $1; 79 if ($right =~ /^((?:��?)?[-���ݤΥ�?(?:(?:(?:[���������Ȭ����)?[���������Ȭ�塻]+|\d+)|[a-zA-Z����)��/) { 80 my $append = $1; 81 $opt->{aza} .= $prefix; 82 $opt->{number} =~ s/^$prefix//; 83 $opt->{number} .= $append; 84 $opt->{match_text} .= $append; 85 } 87 86 } 88 87
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)