[
https://issues.apache.org/jira/browse/JCR-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated JCR-2458:
----------------------------------
Fix Version/s: (was: 2.1.0)
2.0.0
Merged into 2.0 branch in revision: 898056
> 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
> Fix For: 2.0.0
>
> Attachments: JCR-2458.patch, JCR-2458.patch
>
>
> 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.