From 44fc8e23fe61251b903ab777676c14e0a6cbbf4c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 26 Mar 2021 09:14:33 +0100 Subject: bin/ii-answer: more loose regex for requesting sanity check --- bin/ii-answer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ii-answer') diff --git a/bin/ii-answer b/bin/ii-answer index b0f8f11..ffaa08b 100755 --- a/bin/ii-answer +++ b/bin/ii-answer @@ -148,7 +148,7 @@ find "${irc_dir}" \ irc_say "${channel}" 'copy' fi # answer "sanity-check" - regex='^\S\+ <\S\+> .*\([Gg]et.*straight\|[Pp]ull.*yourself.*together\)' + regex='^\S\+ <\S\+> .*\([Gg]et.*straight\|[Pp]ull.*yourself.*together\|[Cc]heck.*again\)' if grep "${regex}" "${out_file}" | \ grep -q "${sloppy_salutation}"; then sed -i "/${regex}/d" "${out_file}" -- cgit v1.2.3-70-g09d2