regexp: backreference to capturing group breaks if followed by underscore #39594
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Minimal case: Play
What did you expect to see?
I expect the pattern
"$2_$1"
to work without needing to escape into"${2}_$1"
, as in python etc.The text was updated successfully, but these errors were encountered: