Escaping path includes #2078
-
Hey everyone, Thx for a great plugin. I am struggling to solve this. I have a simple query to filter the tasks from some files.
That works fine 99% of the time. But, unfortunately, sometimes the files I want to get the tasks from, include special characters, such as parenthesis. So I end up with something like this:
Which just throws an error: I naively tried to simply escape those characters, like this:
But that does not work. I have tried using single and double quotation marks, and any other way I could think of, to escape those especial characters, but couldn't find a way to solve the issue. Any ideas how to deal with this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Sure. Instead of this:
Do this:
With a single query on a line, you aren't writing a Boolean query, so don't put the brackets around the line. |
Beta Was this translation helpful? Give feedback.
-
In Tasks 7.0.0 I rewrote the Boolean filter code - and it fixes the problems described above. The release page summarises the changes, and contains some useful links to help you update your searches, if you have not already done so: https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/7.0.0 |
Beta Was this translation helpful? Give feedback.
In Tasks 7.0.0 I rewrote the Boolean filter code - and it fixes the problems described above.
The release page summarises the changes, and contains some useful links to help you update your searches, if you have not already done so:
https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/7.0.0