redstreet / fava_investor

Comprehensive set of reports, analyses, and tools for investments, for Beancount and Fava (plain text, double entry accounting software). Includes Fava plugins, command line tools, and libraries for each module.
GNU General Public License v3.0
135 stars 19 forks source link

Make currency regex not incorrectly match substrings #88

Closed tschicke closed 10 months ago

tschicke commented 10 months ago

This changes the currency regexes use '^$' instead of just matching '', so that specifying a currency only matches that currency exactly, instead of also matching currencies that contain the specified currency.

redstreet commented 10 months ago

Great, thank you, merged!