title: Why capturing group breaks when inserting dot before it in regular expression?
body: <p>Given the following regular expression, the goal of which is to capture the text preceding the items in the capturing group:</p>
  
  <pre><code>/cliente:[\sa-z.ñÑ0-9(),']+(?=((?:traslado|tr|giro|rut|rt)\:.*))/gmi
  </code></pre>
  
  <p>With the text string:</p>
  
  <p><b><code>CLIENTE:NUBOX S.A.</code></b><code>TRASLADO:CONSIGNACIONESRUT:25387 TR:CONSIG</code></p>
  
  <p>And getting a successful result. But, if I insert a dot in the regex as follows:</p>
  
  <pre><code>/cliente:.+(?=((?:traslado|tr|giro|rut|rt)\:.*))/gmi
  </code></pre>
  
  <p>It breaks the capturing group, yielding</p>
  
  <p><b><code>CLIENTE:NUBOX S.A. TRASLADO:CONSIGNACIONESRUT:25387</code></b><code>TR:CONSIG</code></p>
  
  <p>I need to know why this is happening.</p>