Add support for setting project root regex directly