added regex.h to dtree.h