nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Tags are case sensitive #5712

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Tags are case sensitive i.e. if I enter the same tag in uppercase and lower case, it recognises them differently.

Screenshot 2021-11-12 at 1.57.04 PM.png

How to reproduce tag 1 t/example tag 1 t/Example

Expected: Must show a duplication message Actual: Adds the tag to the contact


[original: nus-cs2103-AY2122S1/pe-interim#5689] [original labels: type.FunctionalityBug severity.Medium]

leezhixuan commented 2 years ago

Team's Response

Since we have implemented a case sensitive flag as an input to find and findAny, it is implied that tags are case sensitive.

superbowl vs superbOWL are different tags since they carry different meanings. one is referring to an American football event while another is a compliment to an owl.

Because tags are limited to alphanumeric characters, users might want to make use of capitalisation to differentiate tags as shown above.

Duplicate status (if any):

--