TxTechnician@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agoProof that Regex is Hate Speech!message-squaremessage-square56fedilinkarrow-up1282arrow-down113file-text
arrow-up1269arrow-down1message-squareProof that Regex is Hate Speech!TxTechnician@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agomessage-square56fedilinkfile-text
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up15·11 months agoIt’s really not too bad as long as: you use a proper IDE (e.g. Regex101) with highlighting and piecewise explanations you use named capturing groups you give the regex a descriptive name in your code
minus-squareblackbirdbiryani@lemmy.worldlinkfedilinkarrow-up2·11 months agoPeople write regex in notepad and complain it doesn’t work on the first try…
It’s really not too bad as long as:
you use a proper IDE (e.g. Regex101) with highlighting and piecewise explanations
you use named capturing groups
you give the regex a descriptive name in your code
People write regex in notepad and complain it doesn’t work on the first try…