Stdlib::Email type#1160
Conversation
Add new type to validate emails. The regex has been taken from the [html5 spec][1] [1]: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address
Codecov Report
@@ Coverage Diff @@
## main #1160 +/- ##
========================================
+ Coverage 3.69% 4.56% +0.86%
========================================
Files 185 185
Lines 5191 5172 -19
========================================
+ Hits 192 236 +44
+ Misses 4999 4936 -63
Continue to review full report at Codecov.
|
|
Thanks for your PR @b4ldr :-) |
|
I just noticed this PR (apparently a little late) and see that newline handling is not done properly here. Currently, things like will match, which is, obviously, not correct. |
|
@pegasd thanks for bringing this to my attention. Please note nothing is ever too late :-) Our code bases are always evolving and changes/PRs can be merged at anytime. PR to resolve: #1163 |
Add new type to validate emails. The regex has been taken from the
html5 spec