<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is dhcpd, not perl. There is no regular expression pattern<br>
matching.  Suggested reading is the man pages for dhcpd.conf,<br>
dhcp-eval, dhcp-options.<br></blockquote><div><br>Hhhm...<br>My man page(ver 4.0.0) says this:<br>.PP<br>.I data-expression-1 \fB~=\fR \fIdata-expression-2\fR<br>.I data-expression-1 \fB~~\fR \fIdata-expression-2\fR<br>.RS 0.25i<br>

.PP<br>The \fB~=\fR and \fB~~\fR operators (not available on all systems) perform<br>extended regex(7) matching of the values of two data expressions, returning<br>true if \fIdata-expression-1\fR matches against the regular expression<br>

evaluated by \fIdata-expression-2\fR, or false if it does not match or<br>encounters some error.  If either the left-hand side or the right-hand side<br>are null, the result is also false.  The \fB~~\fR operator differs from the<br>

\fB~=\fR operator in that it is case-insensitive.<br><br><br>and the link:<br><a href="http://linux.die.net/man/5/dhcp-eval">http://linux.die.net/man/5/dhcp-eval</a><br><br>And I don't get any syntax errors when I use ~=.<br>

<br>rgds<br>Ashmath <br></div></div>