I am 100% convinced that no one actually knows regex.*
@nixCraft the .* at the end is the real joke here.

@nixCraft

This vaguery is maddening. regextensions? regexposition? regexopotamus?

@nixCraft I feel seen. I wonder if this is a good use case for chat gpt. Next time I need regex, I’ll give it a go.
@nixCraft Always get the regexp to work by pure chance πŸ™ˆπŸ™ˆπŸ™ˆ
@nixCraft Regex is like salt. A tiny bit is nice, but man it can spoil a dish fast.
@nixCraft I've known regex at least a dozen times over the past decade..

@nixCraft

"Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems." - JWZ

@nixCraft y(?:(?:(?:(?:ee+)y|y(?:ee+y|y(?:e+|i+)s?)|ye+sy))|e(?:s?e+e*|e(?:ys|e+y)))?s
@nixCraft anyone that claims they do are probably doing it "wrong" in the same way people use C++ standards (this is a joke in case anyone thinks I am being overly serious)
@nixCraft I've been loving https://regex.ai/
AI-Powered Regex Solver

AI-Powered Regex Regular Expression Generator and Solver. Discover how this powerful tool can help you automate your data extraction tasks and streamline your workflow.

@nixCraft regex for the lazy. All my homies write hand made parsers. I wouldn't trust a magic language to verify that [email protected] is an email.
@MerePotatoHead @nixCraft if you want to check if something is an email address, the best solution is to just check for an @, and then send an email with a link or a code
@nixCraft Since writing [make that being forced to write] my own compact, limited regex parser in C (still with back-pattern matching) many, many moons ago, A surprising amount of my subsequent income has been derived from writing regexes.
@abivia @nixCraft My own RE parser; a preprocessor to compose complex RE’s from simpler ones (after all, RE’s are closed under composition), etc. etc. - and in the end, a little grep here and there and the money just kept walking in. Maybe that’s a slight exaggeration. Slight.
@js @nixCraft There should be some kind of (gender neutral) brotherhood/secret society for this. The Order of the Masters of the Regex or something. πŸ˜‚
@nixCraft @lisamelton you know who does though? ChatGPT… it’s weird.

@nixCraft Behold, the regex my colleague wrote when we built the Twitter ngram viewer

https://storywrangling.org/about

StoryWrangler - Twitter Ngram Search

Visualizing over 100 billion tweets in 150+ languages