Make it possible to use Root as a regexp