jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2458) Allow basic regexp in namespace prefix of index-rule
Date Mon, 11 Jan 2010 12:58:54 GMT
Allow basic regexp in namespace prefix of index-rule
----------------------------------------------------

                 Key: JCR-2458
                 URL: https://issues.apache.org/jira/browse/JCR-2458
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
            Reporter: Marcel Reutegger
            Priority: Minor


Currently a regular expression is limited to the local name, which makes fallback declarations
that should match everything else difficult to write. I.e. you have to write a line per namespace
in the node type registry, which bloats the index-rule unnecessarily.

Currently:

<property isRegexp="true">.*</property>

will only match properties with the empty namespace URI.

I propose we allow a basic regular expression in the prefix. That is the match all pattern:
'.*' (dot star).

The following would match any property, including any namespace:

<property isRegexp="true">.*:.*</property>


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


Mime
View raw message