When I try this regex in Golang I'm getting a regex parsing error.
panic: regexp: Compile(.+?(?=someText)
): error parsing regexp: invalid or unsupported Perl syntax: (?=
regexp.MustCompile(`.+?(?=someText)`)
This is probably something to do with lookarounds, but I'm not sure about what the solution is as I don't have much experience with regex.