Making sense of RegExp–or almost

Channel Avatar
Comment
X
Share
Making sense of RegExp–or almost
Making sense of RegExp–or almost
Try saying /”RegExp Explain extension/” out loud 10 times.

Link https://marketplace.visualstudio.com/items?itemNamelouiswt.regexp-preview&WT.mc_iddevcloud-00000-cxa

Fun fact: the regular expression to validate email addresses comes from the HTML5 specs and it’s what web browsers use. But it’s NOT correct. The specs say it’s a /”willful violation of RFC 5322, which defines a syntax for email addresses that is simultaneously too strict, too vague, and too lax to be of practical use./”

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: #shorts, #vscode, #regex, #tips, #programming

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *