"""Within POSIX bracket expressions, the dot character matches a literal dot. For example, <code>a.c</code> matches "<i>abc</i>", etc., but <code>[a.c]</code> matches only "<i>a</i>", "<i>.</i>", or "<i>c</i>"."""<br>
<br>My bad.<br><br><div class="gmail_quote">2012/2/29 Alberto Martínez <span dir="ltr"><<a href="mailto:alberto_martinez@deusto.es">alberto_martinez@deusto.es</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]._]*)?$/) {<br></blockquote></div><div><br>I'm not that good with POSIX regex, but shouldn't it be<div class="im"><br>if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]\._]*)?$/) {<br>
<br></div>AFAIK the dot "." means "any char" so I think it needs to be escaped.<br></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(153,153,153)">Alberto Martínez Setién</span><br style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)">Servicio Informático</span><br style="color:rgb(153,153,153)">
<span style="color:rgb(153,153,153)">Universidad de Deusto</span><br style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)">Avda. de las Universidades, 24</span><br style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)">48007 - Bilbao (SPAIN)</span><br style="color:rgb(153,153,153)">
<span style="color:rgb(153,153,153)">Phone: +34 - 94 413 90 00 Ext 2684</span><br style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)">Fax: +34 - 94 413 91 01</span><br>