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.
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 :
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!