
Games Programmer, Anime fan, General nerd.
Super awkward but trying to improve~ n_n
(Have been advised to add: All views my own)
pah! cant even parse html without using up all the particles in the universe for letters
these exampl fedexes are indeedf confusing me a lof, meowf. If the first one is just ints, why didn't they just convert it to an int and did a few comparisons? (I guess it's parf of a largger refex maybe)
In teh second wonf, why (?!\s) and nof \S, they used it laffer... fur flavor? I am not judging, just confused. And why {1}, what's thaf? Match One Of? Ins't thaf teh default?
Teh third one feels like it could'f been largely simplified by treating teh whitespace it's testing fur befur matching, hehe. Just collapse all contiguous whitespace into a single ' ', see how thaf helps u, meowf. (I am sur teh person who made thaf is reading teh comments rn)
i honestly don't remember what the examples were, i made this like 2 years ago and its just been sitting on my hard drive ever since
that last one i do remember though, it's a portion of that one stupid big autogenerated email regex
My absolute least-favorite use of Regex is the IP Address filter in Google Analytics. GA has a feature that lets you block data based on IP address (so you can filter out yourself/your employees from reports).
But for some gods-fore-fucking-saken reason, the IP address filter UI asks you to do a regex match on the string of the IP address.
Like, they literally built a custom UI component just for entering IP addresses. And they expect you to enter regular expressions into it. And the regular expressions that encompass an IP block are just *terrible.
squints at example
SON OF A BI[signal loss]