nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Find does not match course keywords #141

Open nus-pe-bot opened 5 months ago

nus-pe-bot commented 5 months ago

The following command find CS2103 does not return Bernice even though its part of her course keyword.

image.png


[original: nus-cs2103-AY2324S2/pe-interim#119] [original labels: type.FunctionalityBug severity.Low]

Hibeom0929 commented 5 months ago

Team's Response

image.png As we mentioned, only full words are matched and in your example as only one course can be assigned to one contact, the whole characters in course field considered as one word. So, Bernice's course is not "CS2103" but "CS2103 T" which is not matched with "CS2103" in your example.

Similar to https://github.com/nus-cs2103-AY2324S2/pe-dev-response/issues/3966 , tt would makes sense to have additional features to override that behavior though (so it would be a valid feature request).

Duplicate status (if any):

--