diff options
Diffstat (limited to 'tests/library/corpora/phone.toml')
| -rw-r--r-- | tests/library/corpora/phone.toml | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/tests/library/corpora/phone.toml b/tests/library/corpora/phone.toml index 7abe2f7..f7f2b35 100644 --- a/tests/library/corpora/phone.toml +++ b/tests/library/corpora/phone.toml @@ -1,17 +1,36 @@ accepts = [ "+1 555 123 4567", - "+44 20 7946 0958", + "+1-555-123-4567", "555-123-4567", "555.123.4567", - "+1-555-123-4567", + "(555) 123-4567", "5551234567", + "1-800-555-0199", + "+44 20 7946 0958", + "+44 (0)20 7946 0958", "+81 3-1234-5678", + "+91 98765 43210", + "+49 30 12345678", + "+33 1 42 68 53 00", + "+61 2 9374 4000", + "+55 11 91234-5678", + "00 1 555 123 4567", + "112", + "911", + "999", + "311", + "08000", ] rejects = [ "", + " ", "not a phone", "abc-def-ghij", - " ", "555--123--4567", + "++15551234567", + "+", + "1", + "555-", + "(555 123-4567", ] |
