diff options
author | Erich Eckner <git@eckner.net> | 2021-03-26 09:14:33 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-26 09:17:37 +0100 |
commit | 44fc8e23fe61251b903ab777676c14e0a6cbbf4c (patch) | |
tree | 41e6a765207843c279051a1d4afc3394580e22f0 | |
parent | 4fc406f9660f8ff32aa1b6a2c90a712799b81297 (diff) | |
download | builder-44fc8e23fe61251b903ab777676c14e0a6cbbf4c.tar.xz |
bin/ii-answer: more loose regex for requesting sanity check
-rwxr-xr-x | bin/ii-answer | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |