XWIKI-9261: Failure to find word if not separated by space from the next one
* revert modification committed by mistake
(cherry picked from commit 036f69c4da64bbdb12872c6fe07049de461afe61)