GothenburgBitFactory / GothenburgBitFactory/taskwarrior

[TW-1871] CLI filtering appears to depend on order of terms when quoted

Open
#1,884 1 comment 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

_Paul Beckingham on 2016-12-01T00:14:23Z says:_

These two filters behave differently:

```
$ task "( +WAITING or +PENDING ) and pro:home" all
$ task "pro:home and ( +PENDING or +WAITING )" all
```

The first command works and is parsed properly. The second command treats everything in the quotes as a single word to match on, and fails.

Removing the quotes and escaping the parentheses is a workaround.

Thanks to Eduardo Suarez-Santana.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.