I'm trying to use negative look-aheads in Go.
The following regular expression: BBB(((?!BBB).)*)EEE
BBB(((?!BBB).)*)EEE
http://rubular.com/r/Zw1vopp1MF
However, in Go I get:
error parsing regexp: invalid or unsupported Perl syntax: `(?!`
Are there any alternatives?
1.4m articles
1.4m replys
5 comments
56.9k users