Multi-line Regex In Javascript with Comments
Phil Hadviger
Principal Site Reliability Engineer @ GLGRegular Expressions are great, but not easy to look at!
Let's take for example a regular expression in Javascript for parsing an email adddress.
To a trained eye this is likely as least readable enough, that they can guess that this parses an email address. But most people I work with, and myself included aren't going to be able to tell if there are any obvious bugs in this.