commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfred Reibenschuh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (JEXL-133) String matching Operator short-hand inspired by CSS3
Date Mon, 23 Jul 2012 22:45:35 GMT

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

Alfred Reibenschuh edited comment on JEXL-133 at 7/23/12 10:43 PM:
-------------------------------------------------------------------

hmm and what about the inverse ? !^ and !$ ?
                
      was (Author: alfredreibenschuh):
    hmm and what about the inverse ? "!^" and "!$" ?
                  
> String matching Operator short-hand inspired by CSS3
> ----------------------------------------------------
>
>                 Key: JEXL-133
>                 URL: https://issues.apache.org/jira/browse/JEXL-133
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Alfred Reibenschuh
>            Assignee: Henri Biestro
>            Priority: Trivial
>             Fix For: 3.0
>
>
> like the perl inspired shorthand "=~", css3 also has some nice shorthands 
> http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#attribute-selectors
> for "startsWith" the shorthand could be "expr1 ^= expr2"
> for "endsWith" the shorthand could be "expr1 $= expr2"
> it could be that the "^=" operator already collides with "xor and assign" which i haven't
looked at as of now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message