See also ModeShape's 'jcr:path' pseudo-column that can be used in comparison constraints and that allows for using other comparison operators, including "LIKE". And because the right hand side (i.e., static operand) of a "LIKE" expression can involve wildcards, it may be easier and more understandable to use the pseudo-column.