Skip to content

Exotic Dutch addresses returns incorrect house number #31

Description

@jpzetstra

I encountered some issues with the following Dutch addresses. I must say these addresses are quite exotic but nevertheless would be nice if it can be fixed :)

Laan 1940 – 1945 37 // Expected `37`, output `1940`
Laan 1940-’45 66 // Expected `66`, output `1940`
Laan ’40-’45 // Shouldn't give a house number
Plein 1940 2 // Expected `2`, output `1940 2`
1213-laan 11 // Can't split the address
16 april 1944 Pad 1 // Expected `1`, output `16`
1e Kruisweg 36 // Expected `36`, output `1e`
Langeloërduinen 3 46 // Expected `46` output `3 46`
Marienwaerdt 2e Dreef 2 // Expected `2` output `2e`
Provincialeweg N205 1 // Expected `1` output `205 1`
Rivium 2e Straat 59. // Expected `59` output `2e`

Article with the same issue and 'fix'.
https://www.rosettacode.org/wiki/Separate_the_house_number_from_the_street_name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues that describe an unexpected behaviour in an existing functionality.minor"bug" issues that are neither "critical" nor "major".

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions