You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since you asked for it (in the breaking changes section):
Please support different prefixes and notations:
Germany: 0176-12345678 (zero-prefixed with hyphen)
France: 0 590 12 34 56 (zero-prefixed with spaces)
Poland: xx xxx xx xx (any zwo-digit number as prefix and spaces)
There are probably many many more notations and prefix systems. Basically, to support them all, I see two possibilities:
Introduce an flexible API for matchers (I saw a kind of announcement for that in the release notes / breaking changes section)
Write a separate matcher for every possible notation and prefix system and provide fine-grained control which ones get activated or not. The actual matchers could actually be contributed by others if there is a good API (see 1)).
Anyways, thanks for this awesome utility library!!!
The text was updated successfully, but these errors were encountered:
Since you asked for it (in the breaking changes section):
Please support different prefixes and notations:
Germany: 0176-12345678 (zero-prefixed with hyphen)
France: 0 590 12 34 56 (zero-prefixed with spaces)
Poland: xx xxx xx xx (any zwo-digit number as prefix and spaces)
There are probably many many more notations and prefix systems. Basically, to support them all, I see two possibilities:
Anyways, thanks for this awesome utility library!!!
The text was updated successfully, but these errors were encountered: