This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Fix eMail address regex #14719
Closed
Closed
Fix eMail address regex #14719
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ae87315
Fix eMail address local-part validation
mirabilos baf0fa7
Limit eMail address individual host part length
mirabilos 215a60f
Limit eMail address total host part length
mirabilos 28292fd
Optimise eMail address regex for speed
mirabilos f3e0116
expand ranges in regex character class to improve legibility
mirabilos 8720cff
Comprehensive eMail addr-spec testsuite
mirabilos c410413
Limit size of local-part and total path size in eMail addresses
mirabilos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ranges such as
#-'
or\/-9
make this much less readable imo.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Georgios Kalpakas dixit:
OK, I’ll expand them. But then, there are people who can’t read
a regex no matter how legible it is, and others will know about
it…
bye,
//mirabilos
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg