[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reg Exp matching in hobbit-clients.cfg
- To: hobbit (at) hswn.dk
- Subject: Reg Exp matching in hobbit-clients.cfg
- From: "Bill Matthews" <bill.matthews (at) gmail.com>
- Date: Wed, 29 Aug 2007 11:19:17 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=iToKVFLnGJTwxy9yiQvnX7RHEz/P2L9rylVqjsMpY+7O7kZYJJu+3CMmPBQ4gKif955Et7eqQBQQBF5xF2e1c7teFNXNZT1DbMXdmDjXehPoxRfhSEKFn+NkfDMFpCr6ZzJ7Ja8Av7gNJsbkS5PYzPBRCt2kg1b3zCV9mA0Vvoo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=PZV8tZVR3cYebvk2OHls7piQh8SjbvG8JyLuOLgxVcj7sNmWYjppUanFzJtsQvEKxH+rkZl8PuP/OXKhjGI3Yd0BgvCYOypZ6GX+LdX8uCAd3ULwtHg/5N0GCuEo2sKB71V9uhF7hkNsFHYrLnrM0otmXmUnRCwwaiTgufV8rzI=
Greetings,
I've been able to do some basic regular expression matching using the
examples in hobbit-clients.cfg.
For example, this works fine:
HOST=%(server1|server2|server3).domain.com
But this doesn't:
HOST=%(server*).domain.com
I'm sure I'm just missing the syntax for wildcard matching?
Also is there a way to define a test for every server except some hosts? I
have a lot of tests I would love to put in the DEFAULT section, but I have a
couple hosts that the tests would fail for.
I'm wondering if something like this would be possible?
HOST=%(!badhost1|badhost2).domain.com
Thanks for the help, BM