On Wed, Oct 05, 2005 at 04:54:14PM +0100, Alexey Melnikov wrote:
There is still the yet unanswered question if leading or trailing white
space on the right side is an error, as it could never be matched by
any argument on the left side and is likely a mistake.
It is a generic problem with the relational extension, so I don't think
we need to address it in the variables draft.
Oops, sorry. I thought you were talking about the relational extension,
but reading it again, you wrote "variables".
Besides, the right hand side of a string test can contain variables. So
I don't think it is a good idea to make leading/trailing whitespaces in
the rightmost parameter a runtime error.
Well, with "eq" and "ne" the right hand side can never match the
left, if it contains leading/trailing whitespace. That's almost
certainly a mistake, but with the other operators it may be desired.
That's why I agree to documenting this issue in the _relational_
draft with an example.
Michael