On Thu, 2004-08-12 at 11:44 -0700, wrote:
while perusing the list archive, I found another point which probably
needs addressing in the draft. consider:
if address :matches ["To", "Cc"] ["kjetilho(_at_)*",
"k(_dot_)t(_dot_)homme(_at_)*"]
if a message contains both "To: kjetilho(_at_)darwin(_dot_)uio(_dot_)no"
and "Cc:
k(_dot_)t(_dot_)homme(_at_)hedda(_dot_)uio(_dot_)no" -- what's the value of
${1} ?
the current draft says:
The interpreter MUST short-circuit tests, ie. not perform more
tests than necessary to find the result.
so the behaviour is undefined.
I suggest that this case is best left undefined.
okay, I added two sentences to the paragraph:
The interpreter MUST short-circuit tests, ie. not perform more
tests than necessary to find the result. Evaluation order MUST
be left to right. If a test has two or more list arguments, the
implementation is free to choose which to iterate over first.
--
Kjetil T.