Closed cgrothaus closed 3 years ago
Closes #35.
Use regexes provided by ruby standard library for validation of emails and HTTP URLs.
Changes:
URI::MailTo::EMAIL_REGEXP
/\A#{URI::DEFAULT_PARSER.make_regexp(%w[http https])}\z/
Closes #35.
Use regexes provided by ruby standard library for validation of emails and HTTP URLs.
Changes:
URI::MailTo::EMAIL_REGEXP
for email validation/\A#{URI::DEFAULT_PARSER.make_regexp(%w[http https])}\z/
for HTTP URL validation