Spaces are being ignored when matching words. For example:
Sentence: adiciona <item> a [minha ]lista
Test input: adiciona batatas à minha lista
Current item match: batatas à minh
Expected match: nothing (notice that it has an 'à' and not 'a' in the test input)
The following sentence also results in the same match: adiciona <item> (a|à) [minha ]lista
But this will work as expected: adiciona <item> (à|a) [minha ]lista
Spaces are being ignored when matching words. For example:
Sentence:
adiciona <item> a [minha ]listaTest input:
adiciona batatas à minha listaCurrent
itemmatch:batatas à minhExpected match: nothing (notice that it has an 'à' and not 'a' in the test input)
The following sentence also results in the same match:
adiciona <item> (a|à) [minha ]listaBut this will work as expected:
adiciona <item> (à|a) [minha ]lista