diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-05-31 22:08:17 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-05-31 22:08:17 +0200 |
commit | 8d12695217cea3df0e2a8ce6a100b7e44a34f917 (patch) | |
tree | a8c96c2a5efc230f735faa54f0d9d6d8e699e68f /src | |
parent | d7830ab891dfb393c422b4da52430c429846fc29 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/qif.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ fn remove_card_number(text: &str) -> String { fn remove_payment_provider(text: &str) -> String { lazy_static! { static ref PURCH_REGEX: Regex = - Regex::new(r"(?i)^(purch( payfast\*)?|pp \*|c\*|yoco \*|ikh\*)").unwrap(); + Regex::new(r"(?i)^(purch( payfast\*)?|pp +\*|c\*|yoco +\*|ikh\*)").unwrap(); } PURCH_REGEX.replace_all(text, "").trim().to_string() } |