"Match full words only" with different alphabets

"Match full words only" with different alphabets

by Belén Gracia -
Number of replies: 4

Hi everyone!

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.

I have a Moodle 3.5.4+ (Build: 20190124), php version 7.2.10 and default_charset UTF-8.

Any help will be appreciated. Thanks!

Belén


Average of ratings: -
In reply to Belén Gracia

Re: "Match full words only" with different alphabets

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hello Belén,

The bug report suggests that the problem is fixed in recent versions of Moodle. How about trying on https://demo.moodle.net/ ? Please post back to let us know how you get on.

In reply to Helen Foster

Re: "Match full words only" with different alphabets

by Belén Gracia -

Hello Helen,

thanks for the suggestion.

I just did it, and the sandbox has a similar behaviour as it does in my Moodle 3.5.

I attach a screenshot.

Screenshot-glossary


In reply to Belén Gracia

Re: "Match full words only" with different alphabets

by Belén Gracia -

I forgot the explanation of the 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 :

house

αγκαζέ

está

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.

4- In the screenshot we can see that what I expect is not what's happening.

Thanks for the feedback!

Belén