Closed kkaiser closed 5 years ago
There appear to be some numbers going round with just a one-letter suffix, e.g. https://acework.io/imprint/ which is also listed in OffeneRegister.de.
Anyway, I included some fixes in db89d38. Thanks for reporting this.
The minimum length for German trade register numbers should be 1, so the regex should look like:
Furthermore, you can assume that the first number can't be a 0.
I would also adjust the suffix length which can be of length 2 only. I looked through all register numbers and found only the one's with length 2. You can access all data here: https://offeneregister.de/
Here is a count
Here are some examples for numbers with length 1:
Distribution of number lengths:
Let me know if you need additional resources.