-
Bug
-
Resolution: Done
-
Major
-
4.2.0.Final
-
None
Short: Method createPatternsFor(String...) in org.modeshape.jcr.AbstractJcrNode does not escape the "+" character.
Full:
There are the nodes:
/folder/node+1
/folder/node+2
The result of calling
folder.getNodes("node+*")
will be an empty iterator because createPatternsFor(String...) does not escape the "+" and the resulting regular expression would be
node+.*
Instead it has to be
node\\+.*