Hi,
since AnkiMobile 26.10, wildcards in search queries no longer work. They are matched as literal asterisks instead. This also affects queries passed in through the URL scheme, which breaks our integration.
Context
The AMBOSS iOS app has an “Anki” button on each article. It opens AnkiMobile with
anki://x-callback-url/search?query=<URL-encoded query>
and the query has the form AMBOSS*<article_id>*. This finds all notes whose AMBOSS link field contains that article ID. Up to this version this worked as expected and matches the search syntax in the manual: * is a wildcard unless it’s escaped with \.
What happens in 26.10
- The query arrives as a filter chip (e.g.
AMBOSS*7604*) and the result is 0 cards (“No cards match this search”). - After switching to syntax mode (
</>), the actual query shows that every*has been escaped:
AMBOSS\*7604mS\* note:Ankiphil\*
So the wildcards are now searched as literal asterisks. - Typing
AMBOSS*7604mS*by hand in the normal (non-syntax) search field gives the same result.
Expected behaviour
As a user, one would expect search on mobile to work the same as on desktop: * is a wildcard unless it’s escaped with \, as described in the search manual. That should hold both for queries typed in the search field and for queries passed through the URL scheme. Before 26.10, AnkiMobile behaved like that.
Thanks!

