To add some filter rules in conf file
hashmat.email at gmail.com
Fri Nov 6 06:47:40 UTC 2009
> This is dhcpd, not perl. There is no regular expression pattern
> matching. Suggested reading is the man pages for dhcpd.conf,
> dhcp-eval, dhcp-options.
My man page(ver 4.0.0) says this:
.I data-expression-1 \fB~=\fR \fIdata-expression-2\fR
.I data-expression-1 \fB~~\fR \fIdata-expression-2\fR
The \fB~=\fR and \fB~~\fR operators (not available on all systems) perform
extended regex(7) matching of the values of two data expressions, returning
true if \fIdata-expression-1\fR matches against the regular expression
evaluated by \fIdata-expression-2\fR, or false if it does not match or
encounters some error. If either the left-hand side or the right-hand side
are null, the result is also false. The \fB~~\fR operator differs from the
\fB~=\fR operator in that it is case-insensitive.
and the link:
And I don't get any syntax errors when I use ~=.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users