On Tue, 21 Mar 2000, Kai Henningsen wrote:
> Seems to me that's not very useful. Seems to me when there's need for
> a string-*list* in the first place, you'd want the *correct* match,
> not the *first*.
Please define "correct". It could be
first
last
longest
shortest
...
I rather suspect different people would chose different ones.
Defining "correct" to mean "one that makes the local part actually work"
is not an option, because suffix-stripping is a purely textual thing
that happens before the director is run.
> Maybe it would be better to not use a list, but (optionally?) use a
> regex instead?
Prefixes and suffixes were originally just single, fixed strings - quick
to check. Then the wild cards got invented because people wanted them,
and then people wanted more than one, mostly for synonyms like
suffix = -request : -owner : -manager
Using a regex would of course be much more expensive.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.