1
0
Fork 0

xactmon/rules: Fix Chase regex for >$1k

Never had a transaction of over $1000 before!  Chase's e-mail messages
have a thousands separator that I wasn't expecting.
pull/67/head
Dustin 2025-03-18 19:27:37 +00:00
parent 7c6b6f4ca4
commit 37890e32a1
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ awk_script = "/etc/xactmon/commerce.awk"
name = "Chase (Amazon Rewards) Visa"
match = "no.reply.alerts@chase.com"
date_fmt = "%b %d, %Y at %-I:%M %p"
regex = 'Account\s*(?P<account>.+)\n\s*Date\s+(?P<date>.+[AP]M).*\n\s*Merchant\s+(?P<description>.+)\n\s*Amount\s+\$(?P<amount>[0-9]+\.[0-9]{2})'
regex = 'Account\s*(?P<account>.+)\n\s*Date\s+(?P<date>.+[AP]M).*\n\s*Merchant\s+(?P<description>.+)\n\s*Amount\s+\$(?P<amount>[0-9]+(?:,[0-9]+)*\.[0-9]{2})'
[[rule]]
name = "HSA Bank"