I am trying to implement the regex (?<!\\{)\\[[a-zA-Z0-9_]+\\](?!\\})
with go regex.
Match value will be like [ua]
and [ua_enc]
and unmatched should be {[ua]}
and {[ua_enc]}
As Negative lookahead is not supported in Go, what may be the alternative expression for this?