regexp/syntax.Error.Code (field)

8 uses

	regexp/syntax (current package)
		parse.go#L17: 	Code ErrorCode
		parse.go#L22: 	return "error parsing regexp: " + e.Code.String() + ": `" + e.Expr + "`"
		parse.go#L761: 			err = &Error{Code: ErrInternalError, Expr: s}
		parse.go#L1418: 		return 0, "", &Error{Code: ErrMissingBracket, Expr: wholeClass}
		parse.go#L1613: 			return "", &Error{Code: ErrInvalidCharRange, Expr: t[:1+size]}
		parse.go#L1660: 				return "", &Error{Code: ErrInvalidCharRange, Expr: rng}
		parse.go#L1942: 			return &Error{Code: ErrInvalidUTF8, Expr: s}
		parse.go#L1952: 		return 0, "", &Error{Code: ErrInvalidUTF8, Expr: s}