ibandit 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/data/structures.yml CHANGED
@@ -9,6 +9,9 @@ AD:
9
9
  :total_length: 24
10
10
  :iban_national_id_length: 8
11
11
  :bban_format: \d{4}\d{4}[A-Z0-9]{12}
12
+ :bank_code_format: \d{4}
13
+ :branch_code_format: \d{4}
14
+ :account_number_format: '[A-Z0-9]{12}'
12
15
  AE:
13
16
  :bank_code_position: 5
14
17
  :bank_code_length: 3
@@ -19,6 +22,8 @@ AE:
19
22
  :total_length: 23
20
23
  :iban_national_id_length: 3
21
24
  :bban_format: \d{3}\d{16}
25
+ :bank_code_format: \d{3}
26
+ :account_number_format: \d{16}
22
27
  AL:
23
28
  :bank_code_position: 5
24
29
  :bank_code_length: 3
@@ -29,6 +34,9 @@ AL:
29
34
  :total_length: 28
30
35
  :iban_national_id_length: 8
31
36
  :bban_format: \d{8}[A-Z0-9]{16}
37
+ :bank_code_format: \d{3}
38
+ :account_number_format: '[A-Z0-9]{16}'
39
+ :branch_code_format: \d{5}
32
40
  AT:
33
41
  :bank_code_position: 5
34
42
  :bank_code_length: 5
@@ -39,6 +47,8 @@ AT:
39
47
  :total_length: 20
40
48
  :iban_national_id_length: 5
41
49
  :bban_format: \d{5}\d{11}
50
+ :bank_code_format: \d{5}
51
+ :account_number_format: \d{11}
42
52
  AZ:
43
53
  :bank_code_position: 5
44
54
  :bank_code_length: 4
@@ -49,6 +59,8 @@ AZ:
49
59
  :total_length: 28
50
60
  :iban_national_id_length: 4
51
61
  :bban_format: '[A-Z]{4}[A-Z0-9]{20}'
62
+ :bank_code_format: '[A-Z]{4}'
63
+ :account_number_format: '[A-Z0-9]{20}'
52
64
  BA:
53
65
  :bank_code_position: 5
54
66
  :bank_code_length: 3
@@ -59,6 +71,9 @@ BA:
59
71
  :total_length: 20
60
72
  :iban_national_id_length: 3
61
73
  :bban_format: \d{3}\d{3}\d{8}\d{2}
74
+ :bank_code_format: \d{3}
75
+ :branch_code_format: \d{3}
76
+ :account_number_format: \d{8}\d{2}
62
77
  BE:
63
78
  :bank_code_position: 5
64
79
  :bank_code_length: 3
@@ -69,6 +84,8 @@ BE:
69
84
  :total_length: 16
70
85
  :iban_national_id_length: 3
71
86
  :bban_format: \d{3}\d{7}\d{2}
87
+ :bank_code_format: \d{3}
88
+ :account_number_format: \d{7}\d{2}
72
89
  :local_check_digit_position: 15
73
90
  :local_check_digit_length: 2
74
91
  BG:
@@ -81,6 +98,9 @@ BG:
81
98
  :total_length: 22
82
99
  :iban_national_id_length: 8
83
100
  :bban_format: '[A-Z]{4}\d{4}\d{2}[A-Z0-9]{8}'
101
+ :bank_code_format: '[A-Z]{4}'
102
+ :branch_code_format: \d{4}
103
+ :account_number_format: \d{2}[A-Z0-9]{8}
84
104
  BH:
85
105
  :bank_code_position: 5
86
106
  :bank_code_length: 4
@@ -91,6 +111,8 @@ BH:
91
111
  :total_length: 22
92
112
  :iban_national_id_length: 4
93
113
  :bban_format: '[A-Z]{4}[A-Z0-9]{14}'
114
+ :bank_code_format: '[A-Z]{4}'
115
+ :account_number_format: '[A-Z0-9]{14}'
94
116
  BR:
95
117
  :bank_code_position: 5
96
118
  :bank_code_length: 8
@@ -101,6 +123,9 @@ BR:
101
123
  :total_length: 29
102
124
  :iban_national_id_length: 8
103
125
  :bban_format: \d{8}\d{5}\d{10}[A-Z]{1}[A-Z0-9]{1}
126
+ :bank_code_format: \d{8}
127
+ :account_number_format: \d{10}[A-Z]{1}[A-Z0-9]{1}
128
+ :branch_code_format: \d{5}
104
129
  CH:
105
130
  :bank_code_position: 5
106
131
  :bank_code_length: 5
@@ -111,6 +136,8 @@ CH:
111
136
  :total_length: 21
112
137
  :iban_national_id_length: 5
113
138
  :bban_format: \d{5}[A-Z0-9]{12}
139
+ :bank_code_format: \d{5}
140
+ :account_number_format: '[A-Z0-9]{12}'
114
141
  CR:
115
142
  :bank_code_position: 5
116
143
  :bank_code_length: 3
@@ -121,6 +148,8 @@ CR:
121
148
  :total_length: 21
122
149
  :iban_national_id_length: 3
123
150
  :bban_format: \d{3}\d{14}
151
+ :bank_code_format: \d{3}
152
+ :account_number_format: \d{14}
124
153
  CY:
125
154
  :bank_code_position: 5
126
155
  :bank_code_length: 3
@@ -131,6 +160,9 @@ CY:
131
160
  :total_length: 28
132
161
  :iban_national_id_length: 8
133
162
  :bban_format: \d{3}\d{5}[A-Z0-9]{16}
163
+ :bank_code_format: \d{3}
164
+ :branch_code_format: \d{5}
165
+ :account_number_format: '[A-Z0-9]{16}'
134
166
  CZ:
135
167
  :bank_code_position: 5
136
168
  :bank_code_length: 4
@@ -141,6 +173,8 @@ CZ:
141
173
  :total_length: 24
142
174
  :iban_national_id_length: 4
143
175
  :bban_format: \d{4}\d{6}\d{10}
176
+ :bank_code_format: \d{4}
177
+ :account_number_format: \d{6}\d{10}
144
178
  DE:
145
179
  :bank_code_position: 5
146
180
  :bank_code_length: 8
@@ -151,6 +185,8 @@ DE:
151
185
  :total_length: 22
152
186
  :iban_national_id_length: 8
153
187
  :bban_format: \d{8}\d{10}
188
+ :bank_code_format: \d{8}
189
+ :account_number_format: \d{10}
154
190
  DK:
155
191
  :bank_code_position: 5
156
192
  :bank_code_length: 4
@@ -161,6 +197,8 @@ DK:
161
197
  :total_length: 18
162
198
  :iban_national_id_length: 4
163
199
  :bban_format: \d{4}\d{9}\d{1}
200
+ :bank_code_format: \d{4}
201
+ :account_number_format: \d{9}\d{1}
164
202
  DO:
165
203
  :bank_code_position: 5
166
204
  :bank_code_length: 4
@@ -171,6 +209,8 @@ DO:
171
209
  :total_length: 28
172
210
  :iban_national_id_length: 4
173
211
  :bban_format: '[A-Z0-9]{4}\d{20}'
212
+ :bank_code_format: '[A-Z]{4}'
213
+ :account_number_format: '{4}\d{20}'
174
214
  EE:
175
215
  :bank_code_position: 5
176
216
  :bank_code_length: 2
@@ -181,6 +221,8 @@ EE:
181
221
  :total_length: 20
182
222
  :iban_national_id_length: 2
183
223
  :bban_format: \d{2}\d{2}\d{11}\d{1}
224
+ :bank_code_format: '[1-9][0-9]'
225
+ :account_number_format: \d{2}\d{11}\d{1}
184
226
  :local_check_digit_position: 20
185
227
  :local_check_digit_length: 1
186
228
  ES:
@@ -193,6 +235,9 @@ ES:
193
235
  :total_length: 24
194
236
  :iban_national_id_length: 8
195
237
  :bban_format: \d{4}\d{4}\d{1}\d{1}\d{10}
238
+ :bank_code_format: \d{4}
239
+ :branch_code_format: \d{4}
240
+ :account_number_format: \d{1}\d{1}\d{10}
196
241
  :local_check_digit_position: 13
197
242
  :local_check_digit_length: 2
198
243
  FI:
@@ -205,6 +250,8 @@ FI:
205
250
  :total_length: 18
206
251
  :iban_national_id_length: 3
207
252
  :bban_format: \d{6}\d{7}\d{1}
253
+ :bank_code_format: \d{6}
254
+ :account_number_format: \d{7}\d{1}
208
255
  :local_check_digit_position: 18
209
256
  :local_check_digit_length: 1
210
257
  FO:
@@ -217,6 +264,8 @@ FO:
217
264
  :total_length: 18
218
265
  :iban_national_id_length: 4
219
266
  :bban_format: \d{4}\d{9}\d{1}
267
+ :bank_code_format: \d{4}
268
+ :account_number_format: \d{9}\d{1}
220
269
  FR:
221
270
  :bank_code_position: 5
222
271
  :bank_code_length: 5
@@ -227,6 +276,9 @@ FR:
227
276
  :total_length: 27
228
277
  :iban_national_id_length: 10
229
278
  :bban_format: \d{5}\d{5}[A-Z0-9]{11}\d{2}
279
+ :bank_code_format: \d{5}
280
+ :account_number_format: '[A-Z0-9]{11}\d{2}'
281
+ :branch_code_format: \d{5}
230
282
  :local_check_digit_position: 26
231
283
  :local_check_digit_length: 2
232
284
  GB:
@@ -239,6 +291,9 @@ GB:
239
291
  :total_length: 22
240
292
  :iban_national_id_length: 10
241
293
  :bban_format: '[A-Z]{4}\d{6}\d{8}'
294
+ :bank_code_format: '[A-Z]{4}'
295
+ :account_number_format: \d{8}
296
+ :branch_code_format: \d{6}
242
297
  GE:
243
298
  :bank_code_position: 5
244
299
  :bank_code_length: 2
@@ -249,6 +304,8 @@ GE:
249
304
  :total_length: 22
250
305
  :iban_national_id_length: 2
251
306
  :bban_format: '[A-Z]{2}\d{16}'
307
+ :bank_code_format: '[A-Z]{2}'
308
+ :account_number_format: \d{16}
252
309
  GI:
253
310
  :bank_code_position: 5
254
311
  :bank_code_length: 4
@@ -259,6 +316,8 @@ GI:
259
316
  :total_length: 23
260
317
  :iban_national_id_length: 4
261
318
  :bban_format: '[A-Z]{4}[A-Z0-9]{15}'
319
+ :bank_code_format: '[A-Z]{4}'
320
+ :account_number_format: '[A-Z0-9]{15}'
262
321
  GL:
263
322
  :bank_code_position: 5
264
323
  :bank_code_length: 4
@@ -269,6 +328,8 @@ GL:
269
328
  :total_length: 18
270
329
  :iban_national_id_length: 4
271
330
  :bban_format: \d{4}\d{9}\d{1}
331
+ :bank_code_format: \d{4}
332
+ :account_number_format: \d{9}\d{1}
272
333
  GR:
273
334
  :bank_code_position: 5
274
335
  :bank_code_length: 3
@@ -279,6 +340,9 @@ GR:
279
340
  :total_length: 27
280
341
  :iban_national_id_length: 3
281
342
  :bban_format: \d{3}\d{4}[A-Z0-9]{16}
343
+ :bank_code_format: \d{3}
344
+ :branch_code_format: \d{4}
345
+ :account_number_format: '[A-Z0-9]{16}'
282
346
  GT:
283
347
  :bank_code_position: 5
284
348
  :bank_code_length: 4
@@ -289,6 +353,8 @@ GT:
289
353
  :total_length: 28
290
354
  :iban_national_id_length: 4
291
355
  :bban_format: '[A-Z0-9]{4}[A-Z0-9]{20}'
356
+ :bank_code_format: '[A-Z0-9]{4}'
357
+ :account_number_format: '[A-Z0-9]{20}'
292
358
  HR:
293
359
  :bank_code_position: 5
294
360
  :bank_code_length: 7
@@ -299,6 +365,8 @@ HR:
299
365
  :total_length: 21
300
366
  :iban_national_id_length: 7
301
367
  :bban_format: \d{7}\d{10}
368
+ :bank_code_format: \d{7}
369
+ :account_number_format: \d{10}
302
370
  HU:
303
371
  :bank_code_position: 5
304
372
  :bank_code_length: 3
@@ -309,6 +377,9 @@ HU:
309
377
  :total_length: 28
310
378
  :iban_national_id_length: 7
311
379
  :bban_format: \d{3}\d{4}\d{1}\d{15}\d{1}
380
+ :bank_code_format: \d{3}
381
+ :branch_code_format: \d{4}
382
+ :account_number_format: \d{1}\d{15}\d{1}
312
383
  IE:
313
384
  :bank_code_position: 5
314
385
  :bank_code_length: 4
@@ -319,6 +390,9 @@ IE:
319
390
  :total_length: 22
320
391
  :iban_national_id_length: 10
321
392
  :bban_format: '[A-Z]{4}\d{6}\d{8}'
393
+ :bank_code_format: '[A-Z]{4}'
394
+ :branch_code_format: \d{6}
395
+ :account_number_format: \d{8}
322
396
  IL:
323
397
  :bank_code_position: 5
324
398
  :bank_code_length: 3
@@ -329,6 +403,9 @@ IL:
329
403
  :total_length: 23
330
404
  :iban_national_id_length: 6
331
405
  :bban_format: \d{3}\d{3}\d{13}
406
+ :bank_code_format: \d{3}
407
+ :branch_code_format: \d{3}
408
+ :account_number_format: \d{13}
332
409
  IS:
333
410
  :bank_code_position: 5
334
411
  :bank_code_length: 4
@@ -339,6 +416,8 @@ IS:
339
416
  :total_length: 26
340
417
  :iban_national_id_length: 4
341
418
  :bban_format: \d{4}\d{2}\d{6}\d{10}
419
+ :bank_code_format: \d{4}
420
+ :account_number_format: \d{2}\d{6}\d{10}
342
421
  IT:
343
422
  :bank_code_position: 6
344
423
  :bank_code_length: 5
@@ -349,6 +428,9 @@ IT:
349
428
  :total_length: 27
350
429
  :iban_national_id_length: 10
351
430
  :bban_format: '[A-Z]{1}\d{5}\d{5}[A-Z0-9]{12}'
431
+ :bank_code_format: \d{5}
432
+ :branch_code_format: \d{5}
433
+ :account_number_format: '[A-Z0-9]{12}'
352
434
  :local_check_digit_position: 5
353
435
  :local_check_digit_length: 1
354
436
  KW:
@@ -361,6 +443,8 @@ KW:
361
443
  :total_length: 30
362
444
  :iban_national_id_length: 4
363
445
  :bban_format: '[A-Z]{4}[A-Z0-9]{22}'
446
+ :bank_code_format: '[A-Z]{4}'
447
+ :account_number_format: '[A-Z0-9]{22}'
364
448
  KZ:
365
449
  :bank_code_position: 5
366
450
  :bank_code_length: 3
@@ -371,6 +455,8 @@ KZ:
371
455
  :total_length: 20
372
456
  :iban_national_id_length: 3
373
457
  :bban_format: \d{3}[A-Z0-9]{13}
458
+ :bank_code_format: \d{3}
459
+ :account_number_format: '[A-Z0-9]{13}'
374
460
  LB:
375
461
  :bank_code_position: 5
376
462
  :bank_code_length: 4
@@ -381,6 +467,8 @@ LB:
381
467
  :total_length: 28
382
468
  :iban_national_id_length: 4
383
469
  :bban_format: \d{4}[A-Z0-9]{20}
470
+ :bank_code_format: \d{4}
471
+ :account_number_format: '[A-Z0-9]{14}'
384
472
  LI:
385
473
  :bank_code_position: 5
386
474
  :bank_code_length: 5
@@ -391,6 +479,8 @@ LI:
391
479
  :total_length: 21
392
480
  :iban_national_id_length: 5
393
481
  :bban_format: \d{5}[A-Z0-9]{12}
482
+ :bank_code_format: \d{5}
483
+ :account_number_format: '[A-Z0-9]{12}'
394
484
  LT:
395
485
  :bank_code_position: 5
396
486
  :bank_code_length: 5
@@ -401,6 +491,8 @@ LT:
401
491
  :total_length: 20
402
492
  :iban_national_id_length: 5
403
493
  :bban_format: \d{5}\d{11}
494
+ :bank_code_format: \d{5}
495
+ :account_number_format: \d{11}
404
496
  LU:
405
497
  :bank_code_position: 5
406
498
  :bank_code_length: 3
@@ -411,6 +503,8 @@ LU:
411
503
  :total_length: 20
412
504
  :iban_national_id_length: 3
413
505
  :bban_format: \d{3}[A-Z0-9]{13}
506
+ :bank_code_format: \d{3}
507
+ :account_number_format: '[A-Z0-9]{13}'
414
508
  LV:
415
509
  :bank_code_position: 5
416
510
  :bank_code_length: 4
@@ -421,6 +515,8 @@ LV:
421
515
  :total_length: 21
422
516
  :iban_national_id_length: 4
423
517
  :bban_format: '[A-Z]{4}[A-Z0-9]{13}'
518
+ :bank_code_format: '[A-Z]{4}'
519
+ :account_number_format: '[A-Z0-9]{13}'
424
520
  MC:
425
521
  :bank_code_position: 5
426
522
  :bank_code_length: 5
@@ -431,6 +527,9 @@ MC:
431
527
  :total_length: 27
432
528
  :iban_national_id_length: 10
433
529
  :bban_format: \d{5}\d{5}[A-Z0-9]{11}\d{2}
530
+ :bank_code_format: \d{5}
531
+ :branch_code_format: \d{5}
532
+ :account_number_format: '[A-Z0-9]{11}\d{2}'
434
533
  :local_check_digit_position: 26
435
534
  :local_check_digit_length: 2
436
535
  MD:
@@ -443,6 +542,8 @@ MD:
443
542
  :total_length: 24
444
543
  :iban_national_id_length: 2
445
544
  :bban_format: '[A-Z0-9]{2}[A-Z0-9]{18}'
545
+ :bank_code_format: '[A-Z0-9]{2}'
546
+ :account_number_format: '[A-Z0-9]{18}'
446
547
  ME:
447
548
  :bank_code_position: 5
448
549
  :bank_code_length: 3
@@ -453,6 +554,8 @@ ME:
453
554
  :total_length: 22
454
555
  :iban_national_id_length: 3
455
556
  :bban_format: \d{3}\d{13}\d{2}
557
+ :bank_code_format: \d{3}
558
+ :account_number_format: \d{13}\d{2}
456
559
  MK:
457
560
  :bank_code_position: 5
458
561
  :bank_code_length: 3
@@ -463,6 +566,8 @@ MK:
463
566
  :total_length: 19
464
567
  :iban_national_id_length: 3
465
568
  :bban_format: \d{3}[A-Z0-9]{10}\d{2}
569
+ :bank_code_format: \d{3}
570
+ :account_number_format: '[A-Z0-9]{10}\d{2}'
466
571
  MR:
467
572
  :bank_code_position: 5
468
573
  :bank_code_length: 5
@@ -473,6 +578,9 @@ MR:
473
578
  :total_length: 27
474
579
  :iban_national_id_length: 10
475
580
  :bban_format: \d{5}\d{5}\d{11}\d{2}
581
+ :bank_code_format: \d{5}
582
+ :branch_code_format: \d{5}
583
+ :account_number_format: \d{11}\d{2}
476
584
  MT:
477
585
  :bank_code_position: 5
478
586
  :bank_code_length: 4
@@ -483,6 +591,9 @@ MT:
483
591
  :total_length: 31
484
592
  :iban_national_id_length: 9
485
593
  :bban_format: '[A-Z]{4}\d{5}[A-Z0-9]{18}'
594
+ :bank_code_format: '[A-Z]{4}'
595
+ :branch_code_format: \d{5}
596
+ :account_number_format: '[A-Z0-9]{18}'
486
597
  MU:
487
598
  :bank_code_position: 5
488
599
  :bank_code_length: 6
@@ -493,6 +604,9 @@ MU:
493
604
  :total_length: 30
494
605
  :iban_national_id_length: 8
495
606
  :bban_format: '[A-Z]{4}\d{2}\d{2}\d{12}\d{3}[A-Z]{3}'
607
+ :bank_code_format: '[A-Z]{4}\d{2}'
608
+ :branch_code_format: \d{2}
609
+ :account_number_format: \d{12}\d{3}[A-Z]{3}
496
610
  NL:
497
611
  :bank_code_position: 5
498
612
  :bank_code_length: 4
@@ -503,6 +617,8 @@ NL:
503
617
  :total_length: 18
504
618
  :iban_national_id_length: 4
505
619
  :bban_format: '[A-Z]{4}\d{10}'
620
+ :bank_code_format: '[A-Z]{4}'
621
+ :account_number_format: \d{10}
506
622
  :local_check_digit_position: 18
507
623
  :local_check_digit_length: 1
508
624
  'NO':
@@ -515,6 +631,8 @@ NL:
515
631
  :total_length: 15
516
632
  :iban_national_id_length: 4
517
633
  :bban_format: \d{4}\d{6}\d{1}
634
+ :bank_code_format: \d{4}
635
+ :account_number_format: \d{6}\d{1}
518
636
  PK:
519
637
  :bank_code_position: 5
520
638
  :bank_code_length: 4
@@ -525,6 +643,8 @@ PK:
525
643
  :total_length: 24
526
644
  :iban_national_id_length: 4
527
645
  :bban_format: '[A-Z]{4}[A-Z0-9]{16}'
646
+ :bank_code_format: '[A-Z]{4}'
647
+ :account_number_format: '[A-Z0-9]{16}'
528
648
  PL:
529
649
  :bank_code_position: 5
530
650
  :bank_code_length: 8
@@ -535,6 +655,8 @@ PL:
535
655
  :total_length: 28
536
656
  :iban_national_id_length: 8
537
657
  :bban_format: \d{8}\d{16}
658
+ :bank_code_format: \d{8}
659
+ :account_number_format: \d{16}
538
660
  PS:
539
661
  :bank_code_position: 5
540
662
  :bank_code_length: 4
@@ -545,6 +667,8 @@ PS:
545
667
  :total_length: 29
546
668
  :iban_national_id_length: 4
547
669
  :bban_format: '[A-Z]{4}[A-Z0-9]{21}'
670
+ :bank_code_format: '4'
671
+ :account_number_format: '}[A-Z0-9]{21}'
548
672
  PT:
549
673
  :bank_code_position: 5
550
674
  :bank_code_length: 4
@@ -555,6 +679,9 @@ PT:
555
679
  :total_length: 25
556
680
  :iban_national_id_length: 4
557
681
  :bban_format: \d{4}\d{4}\d{11}\d{2}
682
+ :bank_code_format: \d{4}
683
+ :account_number_format: \d{11}\d{2}
684
+ :branch_code_format: \d{4}
558
685
  :local_check_digit_position: 24
559
686
  :local_check_digit_length: 2
560
687
  RO:
@@ -567,6 +694,8 @@ RO:
567
694
  :total_length: 24
568
695
  :iban_national_id_length: 4
569
696
  :bban_format: '[A-Z]{4}[A-Z0-9]{16}'
697
+ :bank_code_format: '[A-Z]{4}'
698
+ :account_number_format: '[A-Z0-9]{16}'
570
699
  RS:
571
700
  :bank_code_position: 5
572
701
  :bank_code_length: 3
@@ -577,6 +706,8 @@ RS:
577
706
  :total_length: 22
578
707
  :iban_national_id_length: 3
579
708
  :bban_format: \d{3}\d{13}\d{2}
709
+ :bank_code_format: \d{3}
710
+ :account_number_format: \d{13}\d{2}
580
711
  SA:
581
712
  :bank_code_position: 5
582
713
  :bank_code_length: 2
@@ -587,6 +718,8 @@ SA:
587
718
  :total_length: 24
588
719
  :iban_national_id_length: 2
589
720
  :bban_format: \d{2}[A-Z0-9]{18}
721
+ :bank_code_format: \d{2}
722
+ :account_number_format: '[A-Z0-9]{18}'
590
723
  SE:
591
724
  :bank_code_position: 5
592
725
  :bank_code_length: 3
@@ -597,6 +730,8 @@ SE:
597
730
  :total_length: 24
598
731
  :iban_national_id_length: 3
599
732
  :bban_format: \d{3}\d{16}\d{1}
733
+ :bank_code_format: \d{3}
734
+ :account_number_format: \d{16}\d{1}
600
735
  SI:
601
736
  :bank_code_position: 5
602
737
  :bank_code_length: 5
@@ -607,6 +742,8 @@ SI:
607
742
  :total_length: 19
608
743
  :iban_national_id_length: 2
609
744
  :bban_format: \d{5}\d{8}\d{2}
745
+ :bank_code_format: \d{5}
746
+ :account_number_format: \d{8}\d{2}
610
747
  SK:
611
748
  :bank_code_position: 5
612
749
  :bank_code_length: 4
@@ -617,6 +754,8 @@ SK:
617
754
  :total_length: 24
618
755
  :iban_national_id_length: 4
619
756
  :bban_format: \d{4}\d{6}\d{10}
757
+ :bank_code_format: \d{4}
758
+ :account_number_format: \d{6}\d{10}
620
759
  :local_check_digit_position: 14
621
760
  :local_check_digit_length: 1
622
761
  SM:
@@ -629,6 +768,9 @@ SM:
629
768
  :total_length: 27
630
769
  :iban_national_id_length: 10
631
770
  :bban_format: '[A-Z]{1}\d{5}\d{5}[A-Z0-9]{12}'
771
+ :bank_code_format: \d{5}
772
+ :branch_code_format: \d{5}
773
+ :account_number_format: '[A-Z0-9]{12}'
632
774
  :local_check_digit_position: 5
633
775
  :local_check_digit_length: 1
634
776
  TN:
@@ -641,6 +783,9 @@ TN:
641
783
  :total_length: 24
642
784
  :iban_national_id_length: 2
643
785
  :bban_format: \d{2}\d{3}\d{13}\d{2}
786
+ :bank_code_format: \d{2}
787
+ :branch_code_format: \d{3}
788
+ :account_number_format: \d{13}\d{2}
644
789
  TR:
645
790
  :bank_code_position: 5
646
791
  :bank_code_length: 5
@@ -651,6 +796,8 @@ TR:
651
796
  :total_length: 26
652
797
  :iban_national_id_length: 5
653
798
  :bban_format: \d{5}[A-Z0-9]{1}[A-Z0-9]{16}
799
+ :bank_code_format: \d{5}
800
+ :account_number_format: '[A-Z0-9]{1}[A-Z0-9]{16}'
654
801
  VG:
655
802
  :bank_code_position: 5
656
803
  :bank_code_length: 4
@@ -661,6 +808,8 @@ VG:
661
808
  :total_length: 24
662
809
  :iban_national_id_length: 4
663
810
  :bban_format: '[A-Z]{4}\d{16}'
811
+ :bank_code_format: '[A-Z]{4}'
812
+ :account_number_format: \d{16}
664
813
  JO:
665
814
  :bank_code_position: 5
666
815
  :bank_code_length: 4
@@ -671,6 +820,8 @@ JO:
671
820
  :total_length: 30
672
821
  :iban_national_id_length: 4
673
822
  :bban_format: '[A-Z]{4}\d{4}[A-Z0-9]{18}'
823
+ :bank_code_format: '[A-Z]{4}'
824
+ :account_number_format: \d{4}[A-Z0-9]{18}
674
825
  QA:
675
826
  :bank_code_position: 5
676
827
  :bank_code_length: 4
@@ -681,6 +832,8 @@ QA:
681
832
  :total_length: 29
682
833
  :iban_national_id_length: 4
683
834
  :bban_format: '[A-Z]{4}[A-Z0-9]{21}'
835
+ :bank_code_format: '[A-Z]{4}'
836
+ :account_number_format: '[A-Z0-9]{21}'
684
837
  XK:
685
838
  :bank_code_position: 5
686
839
  :bank_code_length: 4
@@ -691,6 +844,8 @@ XK:
691
844
  :total_length: 20
692
845
  :iban_national_id_length: 4
693
846
  :bban_format: \d{4}\d{10}\d{2}
847
+ :bank_code_format: \d{4}
848
+ :account_number_format: \d{10}\d{2}
694
849
  TL:
695
850
  :bank_code_position: 5
696
851
  :bank_code_length: 3
@@ -701,3 +856,5 @@ TL:
701
856
  :total_length: 23
702
857
  :iban_national_id_length: 3
703
858
  :bban_format: \d{3}\d{14}\d{2}
859
+ :bank_code_format: \d{3}
860
+ :account_number_format: ' \d{14} \d{2}'
data/ibandit.gemspec CHANGED
@@ -3,7 +3,7 @@ require File.expand_path('../lib/ibandit/version', __FILE__)
3
3
  Gem::Specification.new do |gem|
4
4
  gem.add_development_dependency 'rspec', '~> 3.1'
5
5
  gem.add_development_dependency 'rspec-its', '~> 1.1'
6
- gem.add_development_dependency 'rubocop', '~> 0.28.0'
6
+ gem.add_development_dependency 'rubocop', '~> 0.29.0'
7
7
  gem.add_development_dependency 'sax-machine', '~> 1.1'
8
8
  gem.add_development_dependency 'nokogiri', '~> 1.6'
9
9