Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/ii-answer
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-26 09:14:33 +0100
committerErich Eckner <git@eckner.net>2021-03-26 09:17:37 +0100
commit44fc8e23fe61251b903ab777676c14e0a6cbbf4c (patch)
tree41e6a765207843c279051a1d4afc3394580e22f0 /bin/ii-answer
parent4fc406f9660f8ff32aa1b6a2c90a712799b81297 (diff)
bin/ii-answer: more loose regex for requesting sanity check
Diffstat (limited to 'bin/ii-answer')
-rwxr-xr-xbin/ii-answer2
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}"