[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Suggestion for Defaults



On Mon, Feb 14, 2005 at 12:08:21AM -0700, Charles Jones wrote:
> Henrik Stoerner wrote:
> >   $ADMINS="webmaster (at) foo.com engineering (at) foo.com"
> >
> >   HOST=*
> >       MAIL $ADMINS COLOR=red

> Wouldn't that be:
> 
> HOST=%.*
>      MAIL $ADMINS COLOR=red
> 
> The reason I ask is because I am using HOST=%.*, and it seems to be 
> working.  I thought it had to be a regex?

"HOST=*" is a special-case meaning "match anything". It was so simple
to implement, and obviously useful (I think), so I added that some
time ago.

Your regex will also work, and is the recommended way of doing
wildcard matches.


Henrik