On 2023-11-05, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > On 2023-11-05, D'Arcy Cain via Python-list <python-list@python.org> wrote: >> On 2023-11-05 00:39, Grant Edwards via Python-list wrote: >>> Definitely. Syntactic e-mail address "validation" is one of the most >>> useless and widely broken things on the Interwebs. People who do >>> anything other than require an '@' (and optionally make you enter the >>> same @-containing string twice) are deluding themselves. >> >> And don't get me started on phone number validation. > > I can see how the truley dim-witted might forget that other countries > have phone numbers with differing lengths and formatting/punctuation, > but there are tons of sites where it takes multiple tries when > entering even a bog-standard USA 10-0digit phone nubmer because they > are completely flummuxed by an area code in parens or hyphens in the > usual places (or lack of hyhpens in the usual places). This stuff > isn't that hard, people...
Indeed - you just do "pip install phonenumbers" :-) -- https://mail.python.org/mailman/listinfo/python-list