"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">name</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">regex</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">formatPattern</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">cardNumberLengths</span><span class="p">:</span> <span class="p">[</sp