ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.4k stars 124 forks source link

Feat: More Import operators #31

Closed brasilikum closed 11 months ago

brasilikum commented 11 months ago

As mentioned in Matrix, I would like to have access to more logic operators in the import.

Specifically:

avinashkanaujiya commented 11 months ago

Where can learn about this logic operators?

ananthakumaran commented 11 months ago

@avinashkanaujiya checkout https://paisa.fyi/reference/import/ and https://handlebarsjs.com/

@brasilikum I have added the last 2 items to master, regarding the first item contains, substring, etc. can you use the regexpTest helper?

brasilikum commented 11 months ago

@ananthakumaran Yes, that works. I think there is an argument to make for contains as a common enough usecase to have some syntactic sugar, but ultimately you should decide what best fits your vision for this project.

Thanks for the additions. I will be able to check them out later today