nus-cs2113-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Find flashcard does not support lowercase search if name contains upper case. #275

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

image.png

I have added a flash card of name Albus Dumbledore,

I tried searching albus instead of Albus, and ended with no matching flashcard.

image.png

Since UG, did not specify, i presumed the search will be case-insenstive.


[original: nus-cs2113-AY1920S2/pe-interim#274]

Zhilin-Huang commented 4 years ago

Team's Response

This is expected behavior.

Users do not have reason to assume a field is case-insensitive unless specified in the UG.

The default is case sensitive for the following reason: One may want to search for certain acronyms like' WHO' which is very different from the meaning of 'who' - the user would not want the flashcards with 'who' to appear. Case is sometimes important information when one is searching for something specific.

Duplicate status (if any):

--