416
Finding a years old project be like
(iusearchlinux.fyi)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Finding my own old projects: "What the hell did this guy do and why does it work?"
that is me with regex that I wrote from scratch like 5 mins ago
“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.
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
Every regex that I write ends up looking like line noise or the holy tome to summon Chtulu.