Why the the following multiline regex do not work, I expect to match the substring inside the tags. Other simples multiline matches worked correctly.
func main() {
r := regexp.MustCompile(`(?m)<think>(.*)</think>`)
const s = `That is
<think>
FOOBAR
</think>`
fmt.Printf("%#v
", r.FindStringSubmatch(s))
}