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

Unified expressions to be used in String literals in Jexl scripts

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0
    • None

    Description

      Introduce new string literals to jexl script that allow unified expressions to be used, string literals could use for example triple quoted (single or double) syntax for delimiters, may include newlines and should not escape single quotes

      user = "Bob"; server = "Test"; s = """Hello ${user}, welcome to ${server}"""; return s;
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: