On Sun, 13 Jun 2004, Keith C. Ivey wrote:

> Mark Powell <[EMAIL PROTECTED]> wrote:
>
> >   Attached is a newer version of the plugin. Each line in badhelo is a
> > regexp. If the regexp is enclosed in '/' chars then it is used as is,
> > giving total freedom, otherwise an implied prefix of '^' and a post-fix of
> > '.?$' are added before processing. It seems that most patterns will
> > require that.
>
> I don't understand when you would want the '.?$' suffix.  What
> sort of strings are you talking about?  It would seem more
> straightforward just to require an exact match (except maybe
> for case) if the line isn't enclosed in slashes.

My finger trouble. I meant '\.?$'. The argument is supposed to be a FQDN,
so it may end with a dot char. Thus any pattern you match, must match the
same with and without a dot at the end.
  Cheers.

-- 
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key

Reply via email to