forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
142007d
commit 4db74c7
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,7 @@ any traditional point-and-click management app. | |
|
||
**Notes about duplicate contacts:**<br> | ||
* A contact is considered a duplicate of another if it has the same Name, Phone or Email as the other contact. | ||
* | ||
|
||
-------------------------------------------------------------------------------------------------------------------- | ||
|
||
|
@@ -123,6 +124,9 @@ Format: `add n/NAME p/PHONE_NUMBER e/EMAIL [t/TAG]…` | |
|
||
* The phone number must follow the Singaporean convention: have 8 digits, start with 6, 8, or 9, and consist only of numbers. | ||
* Duplicate contacts cannot be added to the list. | ||
* Names are case-sensitive. For example, “Alice” and “alice” are considered distinct names. | ||
* Names should only contain alphanumeric characters and spaces, and it should not be blank. | ||
* In cases where two people share the same name, differentiate them by appending a number or changing the capitalization (e.g., “Mary” and “Mary 2”). | ||
|
||
Examples: | ||
* `add n/John Doe p/98765432 e/[email protected]` | ||
|