On 08/26/11 10:46, Andy Hood wrote: >> if exists host-name and option host-name ~~ "[a-z0-9.-]+" { > > Doesn't that need anchors to both ends of the regex? Like "^[a-z0-9.-]+$" That would be the answer... regards, -glenn