How to get page suggestions with pages with spaces in titles?

When using the WYSIWYG editor, it is really helpful to open a left square bracket and have the pages suggested, but the suggestion stops at the first space I enter. Since almost our pages are titled like <Project> - <Detail> I almost never find the page I’m looking for.

Is there a way to work around this?
I tried to add the closing square bracket before starting typing, but that didn’t work.

Hi,

The link autocomplete is configured here xwiki-platform/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-link/plugin.js at master · xwiki/xwiki-platform · GitHub, so any change requires a rebuild of the CKEditor Integration code. The autocomplete has a configuration parameter named pattern Class Mentions (CKEDITOR.plugins.mentions) | CKEditor 4 API docs that controls how the query is extracted. The default pattern stops when it finds a space. We can use a custom pattern than allows whitespace in the query, but you need to report an issue on Loading... . Note that we fixed this problem for the slash / (quick actions) where you can search for actions that have a space in their name.

Thanks,
Marius