When adding recipes, some recipe names include the type of food that is being created in the name i.e. cheesecake is a cake
When using find on cake, a user would expect to see cheesecake as one of the find results, however, find is only able to find the entry if the entry is cheese cake, where cake is a word on its own.
Steps for reproducing
clear
add t/cheesecake i/flour, 4, teaspoon, 0.02 s/mix the flour d/cheesecake
Description
When adding recipes, some recipe names include the type of food that is being created in the name i.e.
cheesecake
is acake
When using
find
oncake
, a user would expect to seecheesecake
as one of thefind
results, however,find
is only able to find the entry if the entry ischeese cake
, wherecake
is a word on its own.Steps for reproducing
clear
add t/cheesecake i/flour, 4, teaspoon, 0.02 s/mix the flour d/cheesecake
add t/sponge cake i/flour, 4, cups, 0.3 s/mix flour into batter d/spongey
find r/cake
Expected Output
Cheesecake and sponge cake entry
Actual Output