You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
that is me with regex that I wrote from scratch like 5 mins ago
Commenting regex fucking sucks. There’s really no good approach.
// MAGIC?
https://github.com/nicman23/Automation-for-Molecular-Docking/blob/dc73355383fc3c9cb61df1f1ad4d2b1ba1a7001f/molport-downloader.sh#L13
#date
“Finally! It works! I’ll never touch it again! I’ll just move it in a variable and–… WHYYYY???!?!11!”
Its always the backslash before the forward slash. Every. Time.
That’s why I like to include a comment with a link to an example on regex101.com.
This is so smart. I’m stealing this.
Every regex that I write ends up looking like line noise or the holy tome to summon Chtulu.