* Clément Pit-Claudel <[email protected]> [2018-08-29 15:14]:
> Thanks, it looks promising :)
> But with this file as input, the query [ledger -f test.ledger reg --limit 
> 'tag(/travel/) =~ /Finland/'] doesn't return anything:
> 
>     2018-08-21 A
>         Expenses:XYZ                                 $10 ; :travel: Finland

The syntax is:

 ; key: value

There should not be a colon before the key.

You only need a colon before and after if it's a tag (without a
value).

So this should be:

         Expenses:XYZ                                 $10 ; travel: Finland

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to