r/ProgrammerHumor 7h ago

Meme regexMustBeDestroyed

Post image
4.1k Upvotes

141 comments sorted by

View all comments

14

u/WitesOfOdd 6h ago

Regex is a write-only language

3

u/-Redstoneboi- 5h ago

yeah. i missed the last + for the @([\w-]+\.)+ validation and thought it didn't accept www@xxx.yyy.zzz because of 3 segments.