spujb@lemmy.cafe to 196@lemmy.blahaj.zoneEnglish · 4 days agorulefiles.catbox.moeimagemessage-square56linkfedilinkarrow-up1248file-text
arrow-up1248imagerulefiles.catbox.moespujb@lemmy.cafe to 196@lemmy.blahaj.zoneEnglish · 4 days agomessage-square56linkfedilinkfile-text
the original said reggae but i misread it as regex and got this idea lol original comic artist: thisstupidtwink@insta
minus-squareglibg10b@lemmy.ziplinkfedilinkEnglisharrow-up5·3 days agoI use it in Vim. Sometimes you want to rename a variable that’s present multiple times in the same line
minus-squareNigelFrobisher@aussie.zonelinkfedilinkEnglisharrow-up5·3 days agoTrue, regex is nothing if not an everything tool!
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up4·3 days agoWhy not just match for the variable and use /g?
minus-squareprenatal_confusion@feddit.orglinkfedilinkEnglisharrow-up3·3 days agoWhy would you go the easy way when there is a complicated but infinitely cooler way?!
minus-squareglibg10b@lemmy.ziplinkfedilinkEnglisharrow-up2·3 days agoI assumed that’s what they meant by “group bit”. I guess maybe they were talking about capture groups
I use it in Vim. Sometimes you want to rename a variable that’s present multiple times in the same line
True, regex is nothing if not an everything tool!
Why not just match for the variable and use
/g?Why would you go the easy way when there is a complicated but infinitely cooler way?!
I assumed that’s what they meant by “group bit”. I guess maybe they were talking about capture groups