Closed QQism closed 7 months ago
To avoid detecting wrong matches due to a keyword being part of another word e.g. merci as in commercial should have not been matched.
merci
commercial
This change checks the previous and next characters of the match to make sure it is a whole actual word.
Unit tests
To avoid detecting wrong matches due to a keyword being part of another word e.g.
merci
as incommercial
should have not been matched.Description
This change checks the previous and next characters of the match to make sure it is a whole actual word.
How Has This Been Tested?
Unit tests
Types of changes
Checklist: