corrected build scripts for exportdialog.h/.cpp
fixed regex bug in parse_result.py