https://issues.apache.org/ooo/show_bug.cgi?id=124957

[email protected] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |NOT_AN_ISSUE

--- Comment #5 from [email protected] <[email protected]> ---
> I think < and > with regexp isn't meaningful, because there IS a pattern
> match or IS NOT.

Agreed. The actual behavior is still a bit surprising because of the seemingly
gratuitous switch between literal-mode and regexp-mode. Maybe Calc should
somehow warn about this.

> What would be the "right" solution for [3-7] > 5?
> (Is 5 greater than 3 to 7 or not?)

That comparison doesn't make sense to me. [3-5]>5 would be false and [6-7]>5
would be true, so the end-result would depend on whether these partial results
were ORed or ANDed. Better do the checks individually and combine them as
desired.

> So I suggest to close this issue as NOT AN ISSUE.

Done.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to