[xbuild] Exec task - add support for custom error/warning regex.