aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-15 22:56:52 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-15 22:56:52 +0100
commit4ea303d3e81f8c644d37d70744eaf0dc55b3f855 (patch)
tree30acfdc57d87667c3cae367f3471118c3711d43b /src/main/kotlin/moe
parent194fe5d932381190b31d832a7f128a02e119b55a (diff)
downloadLocalTransactionLedger-4ea303d3e81f8c644d37d70744eaf0dc55b3f855.tar.gz
LocalTransactionLedger-4ea303d3e81f8c644d37d70744eaf0dc55b3f855.tar.bz2
LocalTransactionLedger-4ea303d3e81f8c644d37d70744eaf0dc55b3f855.zip
Fix typo
Diffstat (limited to 'src/main/kotlin/moe')
-rw-r--r--src/main/kotlin/moe/nea/ledger/BankDetection.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/BankDetection.kt b/src/main/kotlin/moe/nea/ledger/BankDetection.kt
index 8aa557d..2a39c6d 100644
--- a/src/main/kotlin/moe/nea/ledger/BankDetection.kt
+++ b/src/main/kotlin/moe/nea/ledger/BankDetection.kt
@@ -5,7 +5,7 @@ import java.util.regex.Pattern
class BankDetection(val ledger: LedgerLogger) {
val withdrawPattern =
- Pattern.compile("^(You have withdrawn|Withdrew) (?<amount>$SHORT_NUMBER_PATTERN) coins?! (?:There's now|You now have) (?<newtotal>$SHORT_NUMBER_PATTERN) coins? (?:lef in the account!|in your account!)$")
+ Pattern.compile("^(You have withdrawn|Withdrew) (?<amount>$SHORT_NUMBER_PATTERN) coins?! (?:There's now|You now have) (?<newtotal>$SHORT_NUMBER_PATTERN) coins? (?:left in the account!|in your account!)$")
val depositPattern =
Pattern.compile("^(?:You have deposited|Deposited) (?<amount>$SHORT_NUMBER_PATTERN) coins?! (?:There's now|You now have) (?<newtotal>$SHORT_NUMBER_PATTERN) coins? (?:in your account!|in the account!)$")
@SubscribeEvent