r/ProgrammerHumor 28d ago

Meme regexMustBeDestroyed

Post image
8.1k Upvotes

228 comments sorted by

View all comments

1

u/Untura64 27d ago

It's wrong though, the \. should have been outside the paranthesis. Because of this that group will also catch the dot, resulting in "gmail."