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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.1
    • 3.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: