narshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 1 year agoFinding a years old project be likeiusearchlinux.fyiimagemessage-square46fedilinkarrow-up1438arrow-down119
arrow-up1419arrow-down1imageFinding a years old project be likeiusearchlinux.fyinarshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square46fedilink
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.
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.