commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Blinov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JEXL-176) Synonym operator name 'in' for operator =~
Date Sat, 22 Aug 2015 14:21:46 GMT

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

Dmitri Blinov commented on JEXL-176:
------------------------------------

You mean 'in' keyword in deprecated 
{code}foreach(item in list){code} As for me, I have never used this construction since adopting
2.0 version, and as a general rule - features that were marked deprecated in 2.0 can well
be removed in next major version, but its not me who decides when enough is enough.

> Synonym operator name 'in' for operator =~
> ------------------------------------------
>
>                 Key: JEXL-176
>                 URL: https://issues.apache.org/jira/browse/JEXL-176
>             Project: Commons JEXL
>          Issue Type: Improvement
>            Reporter: Dmitri Blinov
>            Priority: Minor
>             Fix For: 3.0
>
>
> For the purpose of JEXL being more readable allow to use 'in' operator for =~
> comparisons 
> {code}
> var a = 1; if (a in [1,2,3]) ...
> {code}



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

Mime
View raw message