[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defining Classes based on hostname?
From: |
Jason Martin |
Subject: |
Re: Defining Classes based on hostname? |
Date: |
Tue, 1 Aug 2006 09:36:59 -0700 |
User-agent: |
Mutt/1.5.11 |
On Tue, Aug 01, 2006 at 07:33:25AM +0200, Mark Burgess wrote:
> Jason Martin wrote:
> >SOMECLASS = ( Regcmp("^cd","${fqhost}") )
> Don't forget that regexs match the whole string, not just part of it,
Yes, so it is important to use the appropriate anchros (^, $ and
so on) to make sure you are matching just the portion of
interest.
-Jason Martin
--
This message is PGP/MIME signed.
pgpWjE4VuZvsG.pgp
Description: PGP signature