Skip to content

Implement Postal Code Generator using Positional Generator for locale nl #3195

Description

@thdaraujo

In lib/locales/nl.yml, there is a very large definition for a generator with over 2000 characters to be used by the regexify method.

My understanding, based on this discussion is that any combination of 2 uppercase characters are valid, except for SA, SS, and SD.

Instead of implementing a way to exclude the invalid combinations, the locale specifies all the 673 repeated permutations of possible 2-letter words that are valid. This seems very excessive to me.

AA, AB, AC, ... ZZ.

I think we could simply implement this with a generator for the postal code excluding using the positional generator instead.

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions