-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
By default qifqif matchings are based on the payee field, and are exact matches (a match is a substring of the payee field).
This assumption is what makes qifqif intuitive and easy to use but brings some limitations. Noticeably it could be useful to :
- categorize transactions by considering many fields : eg if payee field contains xxxx and amount > 30e
- define a match as a list of tokens present in payee field but that don't have to be sequential
Regexes to the rescue
As the current implementation covers most of the cases, adding a regex flag would allow to keep current simplicity by default while offering the power of regexes to power users
Classic mode :
Amount..: 16.80
Payee...: VIREMENT AXA FRANCE FRAIS DE SOINS
Enter category:
Expert mode (-e
) :
Transaction..: 16.80 | VIREMENT AXA FRANCE FRAIS DE SOINS
Enter category:
So matching all equivalent transaction with amount between 10 and 30 e could be used by entering a match alike
^[12]\d\..*AXA FRANCE