open up google
search for exactly the result you want
find an answer on stack exchange that isn't just "nevermind figured it out"
copy and paste into your code
Post funny things about programming here! (Or just rant about your favourite programming language.)
open up google
search for exactly the result you want
find an answer on stack exchange that isn't just "nevermind figured it out"
copy and paste into your code
Coworker: "Hey, I got this really cool new tool that will solve this data filtering problem you had" Me:: "Cool! Let me check out the filters!" Coworker. "They are awesome and work by RegEx!" Me: "Nope, not interested." Coworker: "But... it fits your needs exactly" Me: "I. said. NOT. INTERESTED!"
while :; do curl -X POST -d '{"text": "Removed by mod" }' https://lemmy.ml/post/13463433; done
Nothing to see here folks
Is there a less arcane way to perform searches similarly to regex?
There's other, more verbose, regular expression languages, for instance SRFI-115 for Scheme. But the hard part isn't the syntax, but actually thinking about patterns, so it won't help you any.
Just get the O'Reilly bat book and learn. So what if it overwrites 10% of your brain and you can't remember your mother's face, you'll have a useful skill.
Learn the regex rules.
Step 3: Name your cat 'Regex'
Wrote a regex today and realized it looked like two people waving a hand ;D
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..