Step 3: Name your cat ‘Regex’
Removed by mod
I don’t know all of the regex rules (look ahead/behind, etc); but it’s honestly not that bad. If you can learn the syntax for a programming language, you can learn the basics of regex…
Sure, learning basics of regex is not that hard, but complex regex expressions can easily become impenetrable. I actually like the verbal expressions idea where you write out the regex using a long form and that gets compiled into the actual regex, e.g:
const tester = VerEx() .startOfLine() .then('http') .maybe('s') .then('://') .maybe('www.') .anythingBut(' ') .endOfLine();
That seems like the best of both world approach to me.
My brief experience with LINQ has also taught me to prefer this type of thing as well; though I still use regex on a daily basis most of the time, given my environment.
while :; do curl -X POST -d '{"text": "Removed by mod" }' https://lemmy.ml/post/13463433; done
Nothing to see here folks
Wrote a regex today and realized it looked like two people waving a hand ;D
Removed by mod
Removed by mod
Removed by mod
Removed by mod
Removed by mod
Removed by mod
Removed by mod
Removed by mod
Removed by mod
Removed by mod