regexp/syntax.Error.Code (field)
9 uses
regexp/syntax (current package)
parse.go#L17: Code ErrorCode
parse.go#L22: return "error parsing regexp: " + e.Code.String() + ": `" + e.Expr + "`"
parse.go#L902: err = &Error{Code: ErrLarge, Expr: s}
parse.go#L904: err = &Error{Code: ErrNestingDepth, Expr: s}
parse.go#L1561: return 0, "", &Error{Code: ErrMissingBracket, Expr: wholeClass}
parse.go#L1756: return "", &Error{Code: ErrInvalidCharRange, Expr: t[:1+size]}
parse.go#L1803: return "", &Error{Code: ErrInvalidCharRange, Expr: rng}
parse.go#L2085: return &Error{Code: ErrInvalidUTF8, Expr: s}
parse.go#L2095: return 0, "", &Error{Code: ErrInvalidUTF8, Expr: s}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |