Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-208

Documentation typos/inconsistencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.1
    • 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 ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            joedragons Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: