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

Synonym operator name 'in' for operator =~ // Remove 'foreach...in' syntax

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      For the purpose of JEXL being more readable allow to use 'in' operator for =~
      comparisons

      var a = 1; if (a in [1,2,3]) ...
      

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              dmitri_blinov Dmitri Blinov
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: