reReplaceAll RE flavor

Please use formatted text (you can edit your posts and fix that) + you can share code on play golang directly.
Your code: Go Playground - The Go Programming Language doesn’t work, error ./prog.go:12:63: unknown escape Are you really sure that’s correct regex?

Fix: escape \d:


BTW: Why you need to all these regex games in the template? Why you just don’t print values in the annotation and print it in the template. Why you are trying it in such complicated way?

Here is source code for that reReplaceAll, so it is Golang definitely: