Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-26 12:23:33 +0200
committerErich Eckner <git@eckner.net>2020-04-26 12:23:33 +0200
commitbf8b049e7feb61d12fe1e940e1e845de646b335e (patch)
tree843e532d60a7d68f4c0435526cab95db8b996137
parentac5db319d6a96e72774a8feda08f9a460864d07f (diff)
bin/ii-answer: sanity-check triggered by "Get straight" or "pull yourself together", now
-rwxr-xr-xbin/ii-answer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index 4259c0f..ed333cb 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\|together\)'
+ regex='^\S\+ <\S\+> .*\([Gg]et.*straight\|[Pp]ull.*yourself.*together\)'
if grep "${regex}" "${out_file}" | \
grep -q "${sloppy_salutation}"; then
sed -i "/${regex}/d" "${out_file}"