With a language like Go, which may have square brackets in a tag (e.g. in Go, it may have (*MyType[T]).MyMethod in a tag if we use Generics), current line number extraction logic raise an error since it's splitting a line with a square bracket like split(a:line, '[')[0]). This PR tries to fix this kind of error.
With a language like
Go
, which may have square brackets in a tag (e.g. in Go, it may have(*MyType[T]).MyMethod
in a tag if we use Generics), current line number extraction logic raise an error since it's splitting a line with a square bracket likesplit(a:line, '[')[0])
. This PR tries to fix this kind of error.