You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to try adding support for regex lookarounds to the query engine. Their main use is to match transactions that contain specified tag values and no others.
As Simon pointed out to me in #2095 (comment)_ this functionality would be best achieved with negative lookaheads.
In that thread, I was able to abuse character classes to query for transactions containing postings tagged with different values sharing no letters in common. This is not a reliable nor intuitive method.
I've just started a fork of regex-tdfa with positive auspices from Andreas Abel where I'll try adding the necessary features upstream.
I'll use this issue to discuss details specific to hledger. This feature may need to become a separate dependency or hledger extension instead of enjoying upstream support, but I prefer to avoid that outcome.
The text was updated successfully, but these errors were encountered:
I want to try adding support for regex lookarounds to the query engine. Their main use is to match transactions that contain specified tag values and no others.
As Simon pointed out to me in #2095 (comment)_ this functionality would be best achieved with negative lookaheads.
In that thread, I was able to abuse character classes to query for transactions containing postings tagged with different values sharing no letters in common. This is not a reliable nor intuitive method.
I've just started a fork of regex-tdfa with positive auspices from Andreas Abel where I'll try adding the necessary features upstream.
I'll use this issue to discuss details specific to hledger. This feature may need to become a separate dependency or hledger extension instead of enjoying upstream support, but I prefer to avoid that outcome.
The text was updated successfully, but these errors were encountered: