Skip to content

Commit

Permalink
docs: fix RFC 5322 reference in README.md (#621)
Browse files Browse the repository at this point in the history
https://github.com/envoyproxy/protoc-gen-validate/blob/61feee29cf191d1e4e2687adb8a0d390db7c27d9/validate/validate.proto#L569-L571

Signed-off-by: mori yuta <59682979+utamori@users.noreply.github.com>

Signed-off-by: mori yuta <59682979+utamori@users.noreply.github.com>
Co-authored-by: Elliot Jackson <elliot@elliotmjackson.com>
  • Loading branch information
utamori and Elliot Jackson committed Sep 15, 2022
1 parent 4f96300 commit fcf1e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ Check the [constraint rule comparison matrix](rule_comparison.md) for language-s
- **well-known formats**: these rules provide advanced constraints for common string patterns. These constraints will typically be more permissive and performant than equivalent regular expression patterns, while providing more explanatory failure descriptions.

```protobuf
// x must be a valid email address (via RFC 1034)
// x must be a valid email address (via RFC 5322)
string x = 1 [(validate.rules).string.email = true];
// x must be a valid address (IP or Hostname).
Expand Down

0 comments on commit fcf1e01

Please sign in to comment.