|
From: Radu G. <rad...@gm...> - 2009-08-12 18:00:34
|
On Wed, Aug 12, 2009 at 3:50 PM, Mikoláš Janota<mik...@gm...> wrote:
> it seems silly to write
> s:{"-s"}:{string-regexp} :[between="" regexp="a*" blankparamallowed="false"]
Especially when the default for blankParamAllowed is false.
> instead of
> s:{"-s"}:{string-regexp} :[between="" regexp="a+" ]
A better comparison would be with
s:{"-s"}:{string-regexp} :[between="" regexp="a+" blanparamallowed]
so that we simulate that blankParamAllowed check was removed from parse().
What do we see? An error message that doesn't mention the alias that
was typed, as I said. (There is, however, a ^ pointing to the right
place thanks to the latest additions by Fintan.)
Not to mention that string-regexp is quite different from string in
that it has validation and the whole point of using string as an
example in my previous emails was as an option without validation.
This discussion is getting silly. I'll stop now.
|