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

This reverts commit 9fca8ab076ea917d1bc4b6b0cd1adbf345df9f74.