Closed aconrad closed 11 years ago
this looks like a GPL'd regex, no?
Yes, it looks like it. I'm no lawyer, would this not work with the validictory MIT-like licence?
@aconrad - it would, but the resulting combined work (The GPL calls this a Modified
work, as defined in section 0) - section 5 (Conveying Modified Source Versions) subsection c dicatates: "You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged."
This would result in the entire library being distributed under the GPL, since it'd be conveyed as single work.
Basically, yes, but it'd mean the project would turn into a GPL licensed project, which might not be what @jamesturk would like -- it's easier if we find something matching the license of validictory
Make sense, thanks @paultag. The plumbing is in place to validate emails, I'll come up with another validator, there are plenty out there (but this one seemed to be the most complete and accurate at the time).
NP; thanks for the hack, @aconrad !
Replaced with one from http://www.regular-expressions.info/email.html but I couldn't find any information about licensing...
why isn't this merged yet?
due to licensing concerns & this http://davidcel.is/blog/2012/09/06/stop-validating-email-addresses-with-regex/
it's easy enough for people to add an email validator in their own code if that's what they want, I'd prefer not support this mostly-bad practice from within validictory
Before:
After: