From 61f4b840bc24da16f8d81a4c6282e6b5aa7e0d92 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 13 Jul 2021 13:56:46 +0200 Subject: Improve comment handling of diff tool --- paper/diffinator.py | 4 ++-- paper/tches-22-01-changes.tex | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'paper') diff --git a/paper/diffinator.py b/paper/diffinator.py index 5c26d35..5ba4fdc 100644 --- a/paper/diffinator.py +++ b/paper/diffinator.py @@ -22,8 +22,8 @@ def generate_git_tex_diff(texfile, bibliography, revision): bib_proc = subprocess.run(['git', 'diff', f'-U{bib_lines+1}', '--word-diff', '--color=always', revision, bibliography], check=True, capture_output=True) - addition_re = re.compile('\033\\[32m\\{\\+(.*?)\\+\\}\033\\[m') - deletion_re = re.compile('\033\\[31m\\[-(.*?)\\-]\033\\[m') + addition_re = re.compile('\033\\[32m\\{\\+(.*?)([^\\\\]%.*?)?\\+\\}\033\\[m') + deletion_re = re.compile('\033\\[31m\\[-(.*?)([^\\\\]%.*?)?\\-]\033\\[m') csi_re = re.compile('\033\\[.*?m') bibtex_entry_def_re = re.compile('@.*?{(.*?),') diff --git a/paper/tches-22-01-changes.tex b/paper/tches-22-01-changes.tex index 7857125..4623678 100644 --- a/paper/tches-22-01-changes.tex +++ b/paper/tches-22-01-changes.tex @@ -50,8 +50,9 @@ requests. As pointed out by Reviewer~B, our initial submission lacked a detailed discussion of the operational constraints of Inertial Hardware Security Modules. We have adressed this with more than two pages of new content on the operation of -IHSMs in the new Sections~3.5 ``Long-Term Operation'' and~3.6 ``Transportation''. -% FIXME +IHSMs in the new Sections~3.5 ``Long-Term Operation'' and~3.6 ``Transportation''. In these sections we address the +reviewers' points on the continuous power supply requirement and go into detail on the likelihood of spurious tamper +alarms triggered by external vibrations. \paragraph{Lack of discussion of improved cooling capabilities of IHSMs compared to traditional HSMs} -- cgit