commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Tom (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JEXL-208) Documentation typos/inconsistencies
Date Mon, 01 Aug 2016 21:01:20 GMT

     [ https://issues.apache.org/jira/browse/JEXL-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Tom updated JEXL-208:
-------------------------
    Priority: Trivial  (was: Major)

> Documentation typos/inconsistencies
> -----------------------------------
>
>                 Key: JEXL-208
>                 URL: https://issues.apache.org/jira/browse/JEXL-208
>             Project: Commons JEXL
>          Issue Type: Bug
>         Environment: (Chrome MacOSX)
>            Reporter: Joe Tom
>            Priority: Trivial
>
> 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 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.
> AND
> 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
(v6.3.4#6332)

Mime
View raw message