regexp/syntax.Error.Code (field)
7 uses
regexp/syntax (current package)
parse.go#L17: Code ErrorCode
parse.go#L22: return "error parsing regexp: " + e.Code.String() + ": `" + e.Expr + "`"
parse.go#L1356: return 0, "", &Error{Code: ErrMissingBracket, Expr: wholeClass}
parse.go#L1551: return "", &Error{Code: ErrInvalidCharRange, Expr: t[:1+size]}
parse.go#L1598: return "", &Error{Code: ErrInvalidCharRange, Expr: rng}
parse.go#L1880: return &Error{Code: ErrInvalidUTF8, Expr: s}
parse.go#L1890: return 0, "", &Error{Code: ErrInvalidUTF8, Expr: s}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |