Tree regular expression development and annotation environment