<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
James B Horwath wrote:
<blockquote
 cite="midOFC7615BE6.545D3622-ON852570EE.0055E589-852570EE.0056C201@glic.com"
 type="cite"><br>
  <font face="sans-serif" size="2">I am converting from BB to Hobbit,
Hobbit
is a really nice piece of code.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">I am in the process of converting my
rule set from BB to Hobbit and have a couple of questions.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">I have found if I try to define this:</font>
  <br>
  <br>
  <font face="sans-serif" size="2">$FOO_HOST=%*myhost</font>
  <br>
  <br>
  <font face="sans-serif" size="2">I receive an error message because I
start with a '*'.  I haven't found the magic to escape this.  As
a work-around I did this:</font>
  <br>
  <font face="sans-serif" size="2">$FOO_HOST=%[a-zA-Z0-9]*myhost</font>
  <font face="sans-serif" size="2"></font><br>
</blockquote>
I think you have to either use wildcards, or regex. In other words:<br>
<br>
$FOO_HOST=*myhost<br>
<br>
or<br>
<br>
$FOO_HOST=%(.+)myhost<br>
<br>
<br>
-Charles<br>
</body>
</html>