"Match full words only" with different alphabets

"Match full words only" with different alphabets

Belén Gracia -
回帖数: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


回复Belén Gracia

Re: "Match full words only" with different alphabets

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 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.

回复Helen Foster

Re: "Match full words only" with different alphabets

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


回复Belén Gracia

Re: "Match full words only" with different alphabets

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