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
parent
7c6b6f4ca4
commit
37890e32a1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue