[jira] [Created] (DAEMON-285) jsvc seams not to be supported on netbsd
Alfred Reibenschuh created DAEMON-285: - Summary: jsvc seams not to be supported on netbsd Key: DAEMON-285 URL: https://issues.apache.org/jira/browse/DAEMON-285 Project: Commons Daemon Issue Type: Improvement Components: Jsvc Affects Versions: 1.0.13 Environment: netbsd 5.2-RELEASE amd64 Reporter: Alfred Reibenschuh Priority: Trivial configure --with-host=x86_64-unknown-freebsd lets jsvc build on x86_64-unknown-netbsd5.2 flawlessly without error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (JEXL-133) String matching Operator short-hand inspired by CSS3
[ https://issues.apache.org/jira/browse/JEXL-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alfred Reibenschuh reopened JEXL-133: - 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
[jira] [Comment Edited] (JEXL-133) String matching Operator short-hand inspired by CSS3
[ https://issues.apache.org/jira/browse/JEXL-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[jira] [Created] (JEXL-133) String matching Operator short-hand inspired by CSS3
Alfred Reibenschuh created JEXL-133: --- Summary: 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 Priority: Trivial 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
[jira] Commented: (JEXL-79) Add support for growable arrays (ArrayLists)
[ https://issues.apache.org/jira/browse/JEXL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12797798#action_12797798 ] Alfred Reibenschuh commented on JEXL-79: why not got with php for array handling: http://us2.php.net/manual/en/language.types.array.php listObject=[1,2,3] -- will create a object[] listArray=[1,2,3,...] -- will create an ArrayList listMap=[1=some,2=any,3=thing] -- will create a HashMap listHash=[1=some,2=any,3=thing,...] -- will create a TreeMap list[]=other -- will java call like list.put(list.size(),other) or list.put(list.lastKey()+1,other) list[some]=any -- will java call like list.put(some,any) Add support for growable arrays (ArrayLists) Key: JEXL-79 URL: https://issues.apache.org/jira/browse/JEXL-79 Project: Commons JEXL Issue Type: New Feature Reporter: Sebb Assignee: Henri Biestro Fix For: Later Attachments: JEXL-79.patch, JEXL-79.patch, JEXL-79.patch JEXL now has fixed arrays. Trying to access a non-existent entry generates an Exception. Might be useful to allow for the creation and manipulation of growable arrays, e.g. using ArrayList. Writing to a non-existent entry should just create the value; reading should return null and empty. This would need a new syntax. Perhaps: list=[1,2,3,...] and emptyList=[...] I did wonder about using (), but that would clash with method invocation. Other ideas welcome! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (JEXL-46) adding Perl-like regular-expression operators
adding Perl-like regular-expression operators - Key: JEXL-46 URL: https://issues.apache.org/jira/browse/JEXL-46 Project: Commons JEXL Issue Type: New Feature Affects Versions: 2.0 Reporter: Alfred Reibenschuh would it be possible to add the perl-like =~ and !~ operators to JEXL ? to be used like: - str=this is in here; if(str =~ 'is\s+in') { // true here } - or the simple (true) expressions: this is in here =~ 'is\s+in' this is in here !~ 'not' i know i could use str.match(pattern) but for simple users of an application that like to enter simple expressions =~ and !~ would do it without learning java string object methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.