Skip Menu |

This queue is for tickets about the Geo-StreetAddress-US CPAN distribution.

Report information
The Basics
Id: 94536
Status: new
Priority: 0/
Queue: Geo-StreetAddress-US

People
Owner: Nobody in particular
Requestors: michael.jemmeson [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: sec_unit does not match numbers that precede the sec_unit_type
Addresses in the following formats do not parse correctly: 1st Floor, 123 Street, Town, State 123 Street, 1st Floor, Town, State Whereas they parse correctly when written as "Floor 1" Additionally, this change: https://rt.cpan.org/Ticket/Display.html?id=44735 appears to have dropped the abbreviation for 'Floor' (Fl). Looks like a fix would be required here: $Addr_Match{sec_unit} = qr/ (:? (?: (?:$Addr_Match{sec_unit_type_numbered} \W*) | (\#)\W* (?{ $_{sec_unit_type} = $^N }) ) ( [\w-]+) (?{ $_{sec_unit_num} = $^N }) ) | $Addr_Match{sec_unit_type_unnumbered} /ix; Thanks.