Re: [Issue 124957] regexp bug or not?

2014-05-23 Thread Mathias Röllig


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-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



[Issue 124957] regexp bug or not?

2014-05-22 Thread Mathias Röllig

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-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org