Hi Nicola Thanks for reporting this bug. This certainly sounds like a regression, which wouldn't be that surprising given the large set of changes between 2.5.1 and 2.5.2.
Please report this as a bug upstream. I would expect this to not be an intentional change within a minor version. If a patch is proposed upstream it can be applied. Possibly related: https://github.com/GothenburgBitFactory/taskwarrior/issues/2124 On Sat, Jan 16, 2021 at 09:59:16PM +0100, Nicola Chiapolini wrote: > Package: taskwarrior > Version: 2.5.3+dfsg-1 > Severity: important > > Dear Maintainer, > > I use taskwarrior since several years and have a large number of > projects. One common pattern looks like 'c.vs.2021-01'. After updating > from 2.5.1+dfsg-11 to 2.5.3+dfsg-1, searches for such projects (`task > project:c.vs.2021-01`) fail with error 'Cannot subtract strings'. > > Downgrading fixes the problem. > > > Thanks for all the work. Let me know if I should report this upstream or can > support in any other way. > > best regards > Nicola > > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), > (1, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.9.0-5-amd64 (SMP w/8 CPU threads) > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages taskwarrior depends on: > ii libc6 2.31-9 > ii libgcc-s1 10.2.1-3 > ii libgnutls30 3.7.0-5 > ii libstdc++6 10.2.1-3 > ii libuuid1 2.36.1-4 > > taskwarrior recommends no packages. > > taskwarrior suggests no packages. > > -- no debconf information >