Translate the following sentences into English.
“我不该半途而废,放弃研究项目,”他后悔地说。
半途而废give up halfway;后悔地regretfully。