package pain import ( "regexp" ) var ( ISODateTime = regexp.MustCompile(`\d{4}(-\d\d){2}T\d\d(:\d\d){2}`) RestrictedIdentificationSEPA1 = regexp.MustCompile(`([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|'| ]){1,35}`) RestrictedIdentificationSEPA2 = regexp.MustCompile(`([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|']){1,35}`) Max15NumericText = regexp.MustCompile(`[0-9]{1,15}`) RestrictedDecimalNumber = regexp.MustCompile(`[+-]?\d+\.\d\d`) Max70Text = regexp.MustCompile(`.{1,70}`) ServiceLevelSEPACode = regexp.MustCompile(`SEPA`) SequenceType1Code = regexp.MustCompile(`FRST|RCUR|FNAL|OOFF`) PaymentMethod2Code = regexp.MustCompile(`DD`) LocalInstrumentSEPACode = regexp.MustCompile(`CORE|B2B`) IBAN2007Identifier = regexp.MustCompile(`[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}`) RestrictedPersonIdentifierSEPA = regexp.MustCompile(`[a-zA-Z]{2,2}[0-9]{2,2}([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|']){3,3}([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|']){1,28}`) )