From ccc2d1efa8671901a7bc765b6937aee485465d12 Mon Sep 17 00:00:00 2001 From: Gerdriaan Mulder Date: Sun, 5 Jan 2020 21:33:14 +0100 Subject: [PATCH] Sort SEPARegexps --- pain.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pain.go b/pain.go index 2819250..9ac9166 100644 --- a/pain.go +++ b/pain.go @@ -8,19 +8,19 @@ import ( var ( SEPARegexps = map[string]*regexp.Regexp{ - "MsgId": RestrictedIdentificationSEPA1, "CreDtTm": ISODateTime, - "ReqdColltnDt": ISODateTime, - "NbOfTxs": Max15NumericText, "CtrlSum": RestrictedDecimalNumber, + "IBAN": IBAN2007Identifier, + "Id": RestrictedPersonIdentifierSEPA, + "MsgId": RestrictedIdentificationSEPA1, + "NbOfTxs": Max15NumericText, "Nm": Max70Text, "PmtInfId": RestrictedIdentificationSEPA1, - "PmtMtd": PaymentMethod2Code, - "PmtMetaSvcLvl": ServiceLevelSEPACode, "PmtMetaLclInstrm": LocalInstrumentSEPACode, - "Id": RestrictedPersonIdentifierSEPA, + "PmtMetaSvcLvl": ServiceLevelSEPACode, + "PmtMtd": PaymentMethod2Code, + "ReqdColltnDt": ISODateTime, "SeqTp": SequenceType1Code, - "IBAN": IBAN2007Identifier, } )