Nevermind -- got it :-). See code below, especially the `(?U)` at the
beginning of the regexp pattern string (which I called `pat`).
****************************************************************
package main
import (
"fmt"
"regexp"
)
func main() {
html := `<div><p>Some comment</p></div><div><p>Another one</p></div>`
pat := `(?U)<p>(.*)</p>`
getComment := regexp.MustCompile(pat)
comments := getComment.FindAllString(html, -1)
for _, c := range comments {
fmt.Printf("%s\n", c)