Revert "XWIKI-9261: Failure to find word if not separated by space from the next one"

This reverts commit d2e5dcbe6bf2eafcdb60465ded440563567980ff.