When I try this regex in golang I'm getting regex parsing error.
error parsing regexp: invalid or unsupported Perl syntax:
(?!
regexp.MustCompile("^(?!On.*On\\s.+?wrote:)(On\\s(.+?)wrote:)$"),
Can someone tell me why its not working and help me to fix this issue?
Thanks