News for hackers. Stuff that matters.
Re:Stop Validating Email Addresses with Regex (2012) by simion314 on Wednesday April 20, 2022 @09:26AM (#31096581)
>You won't need to edit it for 20 years

I won't bet my life on it but probably some other sucker will have to fix it. This happened to me where I found a regex that was validating urls was incorrect after urls were allowed to contain unicode stuff (I do not remember the details just that we had an url from a customer that contained arabic looking characters)

IMO the language standard library should include this stuff of validating stuff to avoid developers copy pasting dubious quality regex from Stack Overflow

There are no comments on this comment yet.