summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qif.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qif.rs b/src/qif.rs
index 36a192c..f93dc66 100644
--- a/src/qif.rs
+++ b/src/qif.rs
@@ -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()
}