golang re2 negative lookahead
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex.
This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by misha - a year ago