Description
Given following property definition
+ indexRules - jcr:primaryType = "nt:unstructured" + nt:base + properties - jcr:primaryType = "nt:unstructured" + allProps - name = ".*" - isRegexp = true - nodeScopeIndex = true
It would return true even for relative property names like "foo/bar" and a wrong index would be picked up. Logically the regex is only applicable on property name and should not be applied on relative property. So following scenarios should be supported
- 'foo/.*' must match property 'foo/bar'
- 'foo/.*' must not match property 'foo/bar/baz'
- '.*' must match 'foo'
- '.*' must not match 'foo/bar'