9teMare / pe

0 stars 0 forks source link

Find command only matches regex words (e.g. within word boundaries) #1

Open 9teMare opened 2 years ago

9teMare commented 2 years ago

Reproduce the bug:

  1. addc n/DBS p/1234567 e/dbs@gmail.com a/Clementi
  2. addc n/DBSSS p/12345678 e/dbsss@gmail.com a/Jurong East
  3. findc n/DBS

Expected outcome: Both DBS and DBSSS will be shown

Actual outcome: Only DBS is shown

UG fails to express clearly the fact that find commands (findc, findp, finde) only search for the exact word (only matches regex words), and does not have an example for the scenario given above where findc n/DBS only returns DBS but not both DBS and DBSSS.

image.png

nus-se-bot commented 2 years ago

Team's Response

It's mentioned at the start of the Locating Entries section of the UG that only full words will be matched (see screenshot below). Not an issue.

2022-04-18_11-38.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]