tkobayas commented on code in PR #6354:
URL:
https://github.com/apache/incubator-kie-drools/pull/6354#discussion_r2102053467
##########
drools-model/drools-mvel-parser/src/main/javacc/mvel.jj:
##########
@@ -6459,11 +6471,12 @@ Expression PointFreeExprMvel():
{ negated = true; }
)*
(
- (mvelOperator = <MVEL_STARTS_WITH> | mvelOperator =
<MVEL_ENDS_WITH> | mvelOperator = <MVEL_LENGTH>)
+ operator = SimpleName()
+ subOperator = StringInBrackets()
Review Comment:
Rather than hard-coded tokens (e.g. `str[startsWith]`), take an operator
with brackets in general. (Temporal operators are handled in PointFreeExpr()).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]