Uh-oh, I am definitely lost here. Guess it's better for me to stick to things I actually understand, this is probably too advanced for me :)
Thank you Igor,
I tried to apply your suggestions to a new term in my glossary, just to try this function. In this case, I tried to add "fit into" with all its variants (fits into, fitting into, etc.) to the glossary and it appears like this:
I tried this alternative as well:
what do those xxxxxxx mean? Try to remove them.
I was just being lazy and I did not type the translation in Italian, that's it. However, even if I did,
the term is not highlighted in the source text:
I tried to save and reload the glossary before taking this screenshot. "Fit" is highlighted regularly, as it is featured in a separate entry, but "fit into" is not.
Have you tested it with other phrases or is it just the one that doesn't work? The first "fit into" expression (in your screenshot) will not work, so please remove it. The second one (|fi.+? into) should work provided that the white space between "fit" and "into" is the regular one.