Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: email with dashes are now considered valid #58

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

ALanguillaume
Copy link
Contributor

Why:

  • Email addresses with dashes ("-") were considered invalid

How:

  • Use a more general regex to validate email address in email_chk(). Stop using a-z0-9 to denote alphanumeric pattern but use [:alnum:] which might have helped avoid conflict with - in the pattern range []
  • Start using {testthat} to include a basic test for the email_chk() function

Closes issue #57

Why:

- Email addresses with dashes ("-") were considered invalid

How:

- Use a more general regex to validate email address in email_chk(). Stop using a-z0-9
  to denote alphanumeric pattern but use [:alnum:] which might have
  helped avoid conflict with - in the pattern range []
- Start using {testthat} to include a basic test for the email_chk()
  function

Closes issue mrchypark#57
@mrchypark
Copy link
Owner

Many Thanks to your effort!

@mrchypark mrchypark merged commit 4905078 into mrchypark:main Jan 3, 2024
5 checks passed
@mrchypark
Copy link
Owner

@all-contributors please add @ALanguillaume for bug and code

Copy link
Contributor

@mrchypark

I've put up a pull request to add @ALanguillaume! 🎉

@ALanguillaume
Copy link
Contributor Author

Happy days !
Thanks for the quick review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants