commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Tom (JIRA)" <>
Subject [jira] [Created] (JEXL-208) Documentation typos/inconsistencies
Date Mon, 01 Aug 2016 21:00:22 GMT
Joe Tom created JEXL-208:

             Summary: Documentation typos/inconsistencies
                 Key: JEXL-208
             Project: Commons JEXL
          Issue Type: Bug
         Environment: (Chrome MacOSX)
            Reporter: Joe Tom

Noticed on that there
are two operands that are defined then in the examples reversed.

Starts With=^
The syntactically CSS3 inspired =^ operator is a short-hand for the 'startsWith' method. For
example, "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.


Not Starts With!^
This is the negation of the 'starts with' operator. a ^! "abc" is equivalent to !(a ^= "abc")

This message was sent by Atlassian JIRA

View raw message