expr not working as expected with latest version

30 views
Skip to first unread message

dim

unread,
Dec 1, 2019, 1:50:22 AM12/1/19
to Ledger
With Ledger version 3.1.1-20160111 (installed from trisquel packages)

= expr 'tag("VAT") == "bla"'
    Assets:Whatever                   ((amount * _myvat) - amount)
    Liabilities:Something            (-((amount * _myvat) - amount))


would match entries with ; VAT: bla only

With version 3.1.3-20190331 (compiled from github) the above expression matches *everything*

Any thoughts?




Jostein Berntsen

unread,
Dec 11, 2019, 4:54:51 AM12/11/19
to ledge...@googlegroups.com
On 30.11.19,22:50, dim wrote:
> With Ledger version 3.1.1-20160111 (installed from trisquel packages)
>
> = expr 'tag("VAT") == "bla"'
> Assets:Whatever ((amount * _myvat) - amount)
> Liabilities:Something (-((amount * _myvat) - amount))
>
>
> would match entries with *; VAT: bla only*
>
> With version 3.1.3-20190331 (compiled from github) the above expression
> matches *everything*
>
> Any thoughts?
>

Have you check with the latest, stable release 3.1.3?

https://github.com/ledger/ledger/releases/tag/v3.1.3


Jostein
Reply all
Reply to author
Forward
0 new messages