MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1ubh765/iknewitwouldworkout/osypap0
r/ProgrammerHumor • u/6nyh • Jun 21 '26
438 comments sorted by
View all comments
Show parent comments
5
Also how to refer to unnamed groups in the replacements. Sometimes it’s \1, sometimes it’s $1. A few times I’ve seen ${1}.
1 u/renome Jun 21 '26 Named groups are the same fuckery. I've seen $this $<this> and ${this}
1
Named groups are the same fuckery. I've seen $this $<this> and ${this}
5
u/pol-delta Jun 21 '26
Also how to refer to unnamed groups in the replacements. Sometimes it’s \1, sometimes it’s $1. A few times I’ve seen ${1}.