-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: CSV rule negation #2088
feat: CSV rule negation #2088
Conversation
Sorry for the delay @bobobo1618 . A valuable feature! In my excitement I forgot to ask for documentation. Could you suggest some wording and I'll add it. |
I had a look at the existing matcher documentation and would suggest "When a matcher is preceded by an exclamation mark ( |
Perfect. Thank you! |
Howdy @bobobo1618 . I tried to use
but couldn't make it work. Would you have time to check this case and show a working example, or add a test and fix ? |
I'd love to but I'm afraid this is beyond my Haskell abilities. Right now the logic only supports a simple prefix but this feature would require some kind of recursive logical structure and I'm not familiar enough with how to make that work. |
Mentioned this limitation in the manual for now. |
I'm interested in hledger but really need #2054 for my use-case (certain locations for the same store fit in one purchase category, other locations in another).
I don't know a whole lot of Haskell but hopefully enough to make myself dangerous. I think this change works? The tests I added seem to pass?