]
Mark Proctor updated JBRULES-2761:
----------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
Restriction operator parameters should be strings, not token
sequences
----------------------------------------------------------------------
Key: JBRULES-2761
URL:
https://issues.jboss.org/browse/JBRULES-2761
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Wolfgang Laun
Assignee: Edson Tirelli
User defined operators (similar to "matches" or the temporal ops) may have
parameters, written in '[' and ']' after the identifier denoting the
relational operator. Text between the brackets is currently parsed as a "chunk",
requiring the text to be composed from tokens recognized by the lexer. This is too
restrictive since all Unicode characters that aren't letters (and this part of an
identifier) are simply dropped.
It should be simple to parse the text between '[' and ']' as a special
form of recursive string, with brackets as delimiters. This means that op[foo[1]] is OK,
but op{bar[[] is not.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: