VegOwOtenks@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 months agoRegex flavorslemmy.worldimagemessage-square33fedilinkarrow-up1415arrow-down117
arrow-up1398arrow-down1imageRegex flavorslemmy.worldVegOwOtenks@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square33fedilink
minus-squaremormund@feddit.orglinkfedilinkEnglisharrow-up1·2 months agoIn modern languages you can name them with labels as well yes. Not sure about the syntax right now. Something like (?label:…) I think
minus-squareqaz@lemmy.worldlinkfedilinkarrow-up4·2 months agoIt’s (?<NAME>...) and those are the named capture groups referred to in the post.
In modern languages you can name them with labels as well yes. Not sure about the syntax right now. Something like (?label:…) I think
It’s
(?<NAME>...)
and those are the named capture groups referred to in the post.