narshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 1 year agoFinding a years old project be likeiusearchlinux.fyiimagemessage-square46fedilinkarrow-up1438arrow-down120
arrow-up1418arrow-down1imageFinding a years old project be likeiusearchlinux.fyinarshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square46fedilink
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkEnglisharrow-up74·1 year agoFinding my own old projects: “What the hell did this guy do and why does it work?”
minus-squarenicman24@kbin.sociallinkfedilinkarrow-up40·1 year agothat is me with regex that I wrote from scratch like 5 mins ago
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up21·1 year ago“Finally! It works! I’ll never touch it again! I’ll just move it in a variable and–… WHYYYY???!?!11!”
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up2·1 year agoIts always the backslash before the forward slash. Every. Time.
minus-squared_k_bo@feddit.delinkfedilinkarrow-up12·1 year agoThat’s why I like to include a comment with a link to an example on regex101.com.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up3·1 year agoThis is so smart. I’m stealing this.
minus-squareBipta@kbin.sociallinkfedilinkarrow-up10·1 year agoCommenting regex fucking sucks. There’s really no good approach.
minus-squarenicman24@kbin.sociallinkfedilinkarrow-up2·1 year agohttps://github.com/nicman23/Automation-for-Molecular-Docking/blob/dc73355383fc3c9cb61df1f1ad4d2b1ba1a7001f/molport-downloader.sh#L13 #date
minus-squaretool@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoEvery regex that I write ends up looking like line noise or the holy tome to summon Chtulu.
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.