beego: fix the tree addTree for regexp