You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2018/08/02 16:50:00 UTC
[jira] [Resolved] (JEXL-264) Allow space, quote & double-quote in
identifiers
[ https://issues.apache.org/jira/browse/JEXL-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro resolved JEXL-264.
--------------------------------
Resolution: Fixed
- Adding syntax in javacc jjt, escaping/unescaping identifier parsing methods, tests and book-keeping
commit 839efbd15e60be955f69c01599aa2c0bef85b128
RELEASE-NOTES.txt
src/main/java/org/apache/commons/jexl3/internal/Debugger.java
src/main/java/org/apache/commons/jexl3/parser/Parser.jjt
src/main/java/org/apache/commons/jexl3/parser/StringParser.java
src/site/xdoc/changes.xml
src/test/java/org/apache/commons/jexl3/Issues200Test.java
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)