[ 
https://issues.apache.org/jira/browse/JEXL-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16587595#comment-16587595
 ] 

Henri Biestro commented on JEXL-264:
------------------------------------

This issue - as described, spaces and quotes in identifiers - is resolved.
On the topic of 'this' as a variable, this can be implemented in a specialized 
context.
On the other topic of Unicode characters or identifiers starting with numbers, 
the actual need has never shown up as an Enhancement Request (yet).


> Allow space, quote & double-quote in identifiers
> ------------------------------------------------
>
>                 Key: JEXL-264
>                 URL: https://issues.apache.org/jira/browse/JEXL-264
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.2
>
>
> Since a Jexl context may be backed by a map that is not under Jexl's control, 
> it may happen that keys in such a map contains spaces (quotes, backquotes).
> Scripting these top-level variables is then not very easy; adding an escaping 
> mechanism in the syntax for top-level identifiers is provably convenient in 
> this case.
> For example:In a script, {code}My\ Variable = 3{code} sets the top level 
> variable keyed with the string "My Variable" with the value 3.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to