You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Mathias Röllig <mr...@gmx.net> on 2014/05/22 11:28:16 UTC
[Issue 124957] regexp bug or not?
Hello!
As my explanation in issue 124957: (regexp in Calc)
For the expression X.* and a defined string Xstring is defined
[1] (Xstring < X.*) = (Xstring < MIN( X.* )) = FALSE
[2] (Xstring = X.*) = (Xstring >= MIN( X.* )) AND (Xstring <= MAX( X.*
)) = TRUE
[3] (Xstring > X.*) = (Xstring >= MIN( X.* )) = TRUE
Is there a specification why it is not implemented in complement to [1] as
(Xstring > X.*) = (Xstring > MAX( X.* )) = FALSE
?
Greetings, Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: [Issue 124957] regexp bug or not?
Posted by Mathias Röllig <mr...@gmx.net>.
For completeness:
> Is there a specification why it is not implemented in complement to [1] as
>
> (Xstring > X.*) = (Xstring > MAX( X.* )) = FALSE
>
> ?
It was answered in issue 124957:
Only = and <> works as regular expression comparison. All other
operators works only as string comparison.
Thanks Herbert!
Greetings, Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org