You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var (
someRegex = regexp.MustCompile(`(?P<foo>[.+])`)
someRegexIndex = someRegex.SubexpIndex("foo")
)
which the linter considers OK on the regexp.MustCompile line but not on the SubexpIndex line.
Not sure it's an easy decision to add this as I know there's a slippery slope here, just wanted to share for discussion relating to #41
The text was updated successfully, but these errors were encountered:
I have some code like this:
which the linter considers OK on the
regexp.MustCompile
line but not on theSubexpIndex
line.Not sure it's an easy decision to add this as I know there's a slippery slope here, just wanted to share for discussion relating to #41
The text was updated successfully, but these errors were encountered: