

none of the meat of the regex shown, 0/10
Probably because showing your email regex publicly is a great way to get 1000 messages about obscure edge cases you’re not handling 😛
One star. Too readable, would not write again
Why waste time doing any matching if wantarray == false? Just do:
if(!wantarray) { return 1; }Before any matching happens, or if you only want one return statement set the value of a variable in if(!wantarray)/elsif(regex) and return that variable at the end.
That Perl. You never know if
returndoesn’t have some kind of hidden behavior that uses the local variables…Well, you could read the perldoc page on it. But you can’t just assume it.
At least the cat is happy again now after getting adopted
I’ll forever be sad trying to understand the regex I’ve written myself…
That’s just sad expression with extra steps
If regular expressions are your solution, than your problem is wrong.
Should be at the top.
Some people, when confronted with a problem, think, “I know, I’ll use regular expressions.”
Now they have two problems.
Counterargument: ctrl+f is a great place for regex. Write once read never problems are a great application for unreadable languages. Imagine if people wrote scripts in the language vi uses for editnig<escape>bceediting, which mostly isn’t even displayed as it’s typed! <escape>
But yeah, it’s kind of terrible for anything else.
Doggy is not smiling but trying to lose heat. Doggy is the real regular expression
similarly, cats don’t usually express emotions with their face (and often don’t express them at all)









