Never hit that limit!  Can you group your accounts in a tree structure?

On Fri, Jan 4, 2019 at 18:35 Scott Carpenter <[email protected]> wrote:

> Tried to glom a whole bunch of accounts together for a query, but appears
> there is a 256 character limit for the // grouping, e.g.:
>
> While parsing value expression:
>   (cleared)&((account =~ /^(fu: bar|...lots of chars...|abc: def)$/))
>                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Error: Invalid char 'a' (wanted '/')
>
>
>
> On Wednesday, January 2, 2019 at 8:11:50 PM UTC-6, Scott Carpenter wrote:
>>
>> Yep I had the longer version with --limit and account =~
>>
>> Thanks for the tip!
>>
>> On Wednesday, January 2, 2019 at 7:30:08 PM UTC-6, Martin Michlmayr wrote:
>>>
>>> * Scott Carpenter <[email protected]> [2019-01-02 15:11]:
>>> > Sigh. No sooner posted than I had a better idea for finding it in the
>>> docs
>>> > and looks like "6.2.1 Controlling the Accounts and Payees" has what I
>>> need.
>>>
>>> So what did you end up with?
>>>
>>> I assume
>>>     ledger -f d bal --limit "account =~ /unwise%$/"
>>>
>>> If so, note that you can use the more simple version:
>>>
>>>     ledger -f d bal /unwise%$/
>>>
>>
>>> --
>>> 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.
>
-- 
Craig, Corona De Tucson, AZ
[image: missile_flyout]
enderw88.wordpress.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