<div class="gmail_quote"><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><br>I'm not that good with POSIX regex, but shouldn't it be<br>if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]\._]*)?$/) {<br>
<br>AFAIK the dot "." means "any char" so I think it needs to be escaped.<br></div></div>