You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2015/08/21 08:22:45 UTC

[jira] [Created] (JEXL-177) Unified expressions to be used in String literals in Jexl scripts

Dmitri Blinov created JEXL-177:
----------------------------------

             Summary: Unified expressions to be used in String literals in Jexl scripts
                 Key: JEXL-177
                 URL: https://issues.apache.org/jira/browse/JEXL-177
             Project: Commons JEXL
          Issue Type: New Feature
    Affects Versions: 3.0
            Reporter: Dmitri Blinov
            Priority: Minor


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

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)