▲ 246 ▼ rule (files.catbox.moe) submitted 1 month ago by spujb@lemmy.cafe to c/onehundredninetysix@lemmy.blahaj.zone 56 comments fedilink hide all child comments the original said reggae but i misread it as regex and got this idea lol original comic artist: thisstupidtwink@insta
[–] glibg10b@lemmy.zip 5 points 1 month ago (2 children) I use it in Vim. Sometimes you want to rename a variable that's present multiple times in the same line permalink fedilink source parent hideshow 4 child comments replies: [–] NigelFrobisher@aussie.zone 5 points 1 month ago True, regex is nothing if not an everything tool! permalink fedilink source parent [–] exu@feditown.com 5 points 1 month ago (2 children) Why not just match for the variable and use /g? permalink fedilink source parent hideshow 4 child comments replies: [–] prenatal_confusion@feddit.org 4 points 1 month ago Why would you go the easy way when there is a complicated but infinitely cooler way?! permalink fedilink source parent [–] glibg10b@lemmy.zip 2 points 1 month ago I assumed that's what they meant by "group bit". I guess maybe they were talking about capture groups permalink fedilink source parent
[–] NigelFrobisher@aussie.zone 5 points 1 month ago True, regex is nothing if not an everything tool! permalink fedilink source parent
[–] exu@feditown.com 5 points 1 month ago (2 children) Why not just match for the variable and use /g? permalink fedilink source parent hideshow 4 child comments replies: [–] prenatal_confusion@feddit.org 4 points 1 month ago Why would you go the easy way when there is a complicated but infinitely cooler way?! permalink fedilink source parent [–] glibg10b@lemmy.zip 2 points 1 month ago I assumed that's what they meant by "group bit". I guess maybe they were talking about capture groups permalink fedilink source parent
[–] prenatal_confusion@feddit.org 4 points 1 month ago Why would you go the easy way when there is a complicated but infinitely cooler way?! permalink fedilink source parent
[–] glibg10b@lemmy.zip 2 points 1 month ago I assumed that's what they meant by "group bit". I guess maybe they were talking about capture groups permalink fedilink source parent