Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
(Chrome MacOSX)
Description
Noticed on https://commons.apache.org/proper/commons-jexl/reference/syntax.html that there are two operands that are defined then in the examples reversed.
Starts With=^
The syntactically ... "abcdef" ^= "abc" returns true. Note that through duck-typing, user classes exposing a public 'startsWith' method will allow their instances to behave has left-hand-size operands of this operator.
AND
Not Starts With!^
This is the negation of the 'starts with' operator. a ^! "abc" is ...