Affects Version/s: 3.5.4
Fix Version/s: None
Pull from Repository:
Pull Master Branch:patch-1
I am aware of this old post in this forum: Match whole words only and its bug report Match whole words only don't work for non-ASCII characters
I was wondering if this issue is already fixed in newer versions of Moodle and therefore newer php versions. It is not working correctly in my Moodle, but I may have something misconfigured or need to install or do something else.
To do test:
1- I have created a glossary with 3 entries. All of them have the options "This entry should be automatically linked" and "Match whole words only" set :
2- I have configured the filters so the autolinking would work.
3- I have created a label with different combinations of the words and I have written what I expected to be happening for each one of these combinations.
house --> link to the glossary entry "house"
αγκαζέ --> link to the glossary entry "αγκαζέ"
está --> link to the glossary entry "está"
houseeeee --> no link to the glossary
αγκαζέαααα --> no link to the glossary
estáeeeee --> no link to the glossary
αhouse --> no link to the glossary
αestá --> no link to the glossary
estáhouse --> no link to the glossary
estahouse --> no link to the glossary
esta --> no link to the glossary
4- Check if the links are created as expected
I have tried with a Moodle 3.5.4+ (Build: 20190124), php version 7.2.10 and default_charset UTF-8.