-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Feature] Regex Rules - #500
Comments
Additionally, it would be very useful to be able to use captures from the regex in the actions. I have quite a few rules checking for |
✨ Thanks for sharing your idea! ✨ This repository is now using lodash style issue management for enhancements. This means enhancement issues will now be closed instead of leaving them open. This doesn’t mean we don’t accept feature requests, though! We will consider implementing ones that receive many upvotes, and we welcome contributions for any feature requests marked as needing votes (just post a comment first so we can help you make a successful contribution). The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+ Don’t forget to upvote the top comment with 👍! |
From reading the code, Actual "contains" rules is already sql "like" function, which use "_" for single char wildcard, % for multiple character wildcard. I do not see any escape character so right now you would not able to search for literly % or _ |
Will this also be able to do a rule to remove, or partially remove, a string from notes or allow to use the groups in the output?
|
I think the regex part of this has already been implemented for "Imported Payee" and "Notes". And +💯 for the regex captures and backreferences idea |
Not sure if it's related to this feature as well but having the ability to use RegEx match groups would be fantastic. For example, I have intra-account transfers marked with a 4-digit transfer code on the payee, and receiving transactions makes that available in the notes. So matching those numbers via regex would be a godsend. |
Discussed in https://github.com/actualbudget/actual/discussions/395
Originally posted by snovak December 1, 2022
I think it would be very powerful to introduce Regex matching, or some simple pattern matching, for Rules.
Here is a mockup of what the UI might look like. The two bottom rules should achieve the same result with far less configuration.
The text was updated successfully, but these errors were encountered: