jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1662) Add pattern matching for paths
Date Wed, 25 Jun 2008 20:42:45 GMT

    [ https://issues.apache.org/jira/browse/JCR-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608179#action_12608179

Tobias Bocanegra commented on JCR-1662:

can you provide an example of how to use this pattern matching? and a use case?

from my experience you usually only need 4 types of matching:

Match all foo.txt files:	.*/foo\.txt$
Match child nodes:	/foo/.*
Match direct child nodes:	/foo/[^/]*$
Match node and child nodes:	/foo(/.*)?

those patterns can easily be formed with regexp.

> Add pattern matching for paths
> ------------------------------
>                 Key: JCR-1662
>                 URL: https://issues.apache.org/jira/browse/JCR-1662
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-spi-commons
>            Reporter: Michael Dürig
>         Attachments: JCR-1662.patch
> I suggest to add utility classes to spi-commons which can be used to do pattern matching
on paths similar to regular expressions. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message