refined icon indicating copy to clipboard operation
refined copied to clipboard

Email refinement

Open NeQuissimus opened this issue 5 years ago • 3 comments

It would be wonderful if we had a string refinement that validates an email address :)

NeQuissimus avatar Feb 21 '19 16:02 NeQuissimus

That would be a welcome addition. Any ideas how to implement that?

fthomas avatar Feb 21 '19 19:02 fthomas

Maybe we need a module that depends on Apache Commons, there is lots of good stuff in there: http://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/EmailValidator.html

Credit card numbers, ISBN, TLD...

NeQuissimus avatar Feb 22 '19 13:02 NeQuissimus

If this requires a new module, we should think about having it in a separate repo. We have right now 11 (and soon 12) separate modules and each module slows down builds and releases and makes maintenance a little bit harder. I've reserved this https://github.com/refined-org organization which we could use for new refined-* repos.

fthomas avatar Feb 22 '19 20:02 fthomas