type regexp/syntax.Error
26 uses
regexp/syntax (current package)
parse.go#L16: type Error struct {
parse.go#L21: func (e *Error) Error() string {
parse.go#L418: return "", &Error{ErrInvalidRepeatOp, lastRepeat[:len(lastRepeat)-len(after)]}
parse.go#L423: return "", &Error{ErrMissingRepeatArgument, before[:len(before)-len(after)]}
parse.go#L427: return "", &Error{ErrMissingRepeatArgument, before[:len(before)-len(after)]}
parse.go#L440: return "", &Error{ErrInvalidRepeatSize, before[:len(before)-len(after)]}
parse.go#L902: err = &Error{Code: ErrLarge, Expr: s}
parse.go#L904: err = &Error{Code: ErrNestingDepth, Expr: s}
parse.go#L1010: return nil, &Error{ErrInvalidRepeatSize, before[:len(before)-len(after)]}
parse.go#L1034: return nil, &Error{ErrInvalidEscape, t[:2]}
parse.go#L1099: return nil, &Error{ErrMissingParen, s}
parse.go#L1171: return "", &Error{ErrInvalidNamedCapture, s}
parse.go#L1180: return "", &Error{ErrInvalidNamedCapture, capture}
parse.go#L1248: return "", &Error{ErrInvalidPerlOp, s[:len(s)-len(t)]}
parse.go#L1419: return &Error{ErrUnexpectedParen, p.wholeRegexp}
parse.go#L1425: return &Error{ErrUnexpectedParen, p.wholeRegexp}
parse.go#L1446: return 0, "", &Error{ErrTrailingBackslash, ""}
parse.go#L1554: return 0, "", &Error{ErrInvalidEscape, s[:len(s)-len(t)]}
parse.go#L1561: return 0, "", &Error{Code: ErrMissingBracket, Expr: wholeClass}
parse.go#L1608: return nil, "", &Error{ErrInvalidCharRange, name}
parse.go#L1685: return nil, "", &Error{ErrInvalidCharRange, s}
parse.go#L1702: return nil, "", &Error{ErrInvalidCharRange, seq}
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. |