@robert-ancell
Copy link
Contributor

The following program:

   g_autoptr(AsPool) pool = as_pool_new ();
   g_auto(GStrv) tokens = as_pool_build_search_tokens (pool, "evince");
   for (guint i = 0; tokens[i] != NULL; i++) {
      g_printerr ("%s\n", tokens[i]);
   }

Prints out evinc, which seems to indicate the last character is being dropped from search terms.