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

[W5][T09-2]Zhang Jingchen #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jingchen-z
Copy link

Add check conditions on user input in terms of email and phone number.

Also updated the test file.

@cheahzk
Copy link

cheahzk commented Feb 11, 2019

Nice small implementation. Checking email for any malicious characters is a good idea.

Copy link

@sanjukta99 sanjukta99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good effort! In the future please try to work on a more extensive enhancement so that you can learn more about SE through coding and practice. Please read the review and close this PR.

|| add: Adds a person to the address book. Contact details can be marked private by prepending 'p' to the prefix.
|| Parameters: NAME [p]p/PHONE [p]e/EMAIL [p]a/ADDRESS [t/TAG]...
|| Example: add John Doe p/98765432 e/[email protected] a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney
|| ===================================================

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good that you have added multiple test cases!

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

Successfully merging this pull request may close these issues.

5 participants