Refactor regex uses, do not reference boost except in regex.hh
Do not assert on SIGTERM and backup modified buffers on signal induced termination