Skip to content

Commit

Permalink
Tighten swedbank_habalv22 date regex
Browse files Browse the repository at this point in the history
  • Loading branch information
dmednis committed Nov 6, 2024
1 parent ed098c4 commit d83994a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app-gocardless/banks/swedbank-habalv22.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
*/
normalizeTransaction(transaction, booked) {
const dateMatch = transaction.remittanceInformationUnstructured?.match(
/PIRKUMS [\d*]+ (\d{2}.\d{2}.\d{4})/,
/PIRKUMS [\d*]+ (\d{2}\.\d{2}\.\d{4})/,
);

if (dateMatch) {
Expand Down

0 comments on commit d83994a

Please sign in to comment.