summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-01-05 19:26:17 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-01-05 19:26:17 +0200
commit17e0cd1469f9650784ca583053f8ff08ade9b6fb (patch)
treee64e7f993704ea7436c812b4687cec76cbbae9fc
parent1b98d28058f51833aa9be06423b32c9d5f0ab49c (diff)
Another common line
-rw-r--r--src/qif.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qif.rs b/src/qif.rs
index 9c94506..0f20394 100644
--- a/src/qif.rs
+++ b/src/qif.rs
@@ -107,6 +107,7 @@ fn replace_common(text: &str) -> String {
(Regex::new(r"(?i)CELL C").unwrap(), "Cell C"),
(Regex::new(r"(?i)ELECTRICITY").unwrap(), "Electricity"),
(Regex::new(r"(?i)(COUNTRY VIEW|STAR STOP|Shell|Sasol)").unwrap(), "Petrol"),
+ (Regex::new(r"(?i)kung ?fu").unwrap(), "Kungfu Kitchen"),
);
}
COMMON_NAMES.iter().fold(