Queries with left square brackets ([) don't work anymore on Mac OS version

Steps to reproduce

Create a default query with “query”

Add a prompt that does not contain a left square bracket → query works as expected.
Add a left square bracket to the prompt → the prompt always shows “No matches found”, no matter if there are matches in the vault.

Did you follow the troubleshooting guide? [Y/N]

I turned off all plugins (Cire and Community) and swapped to default theme, bug persists.

Expected result

Query should work

Actual result

Query is not working


Obsidian version: v1.4.5
Installer version: v1.2.8
Operating system: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 22.6.0
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 10
Plugins enabled: 0


Additional information

Please note this only happens in MacOS desktop version, iOS version is fine (don’t know about Windows Desktop though).

Current workaround: leave left square brackets out of queries :slight_smile:

you are gonna have to escape them: \[ and \]. Or have the square bracket within a string identifier "[string]"

1 Like

Ah wow, that’s straightforward and makes sense! Was it always the case? I am quite certain I did not see this in the last months/years I am using your awesome product :wink:

Thanks for the quick answer!

It’s new. Brackets are now used to search properties. https://help.obsidian.md/Plugins/Search#Search+properties

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.