implemented project dir regex support