From f7acca6a7d7ff748a146fe9ad54708046a49a455 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 31 Oct 2017 12:36:58 +1300 Subject: [PATCH] Catch seprat* typo (for seprated, etc) --- xapian-maintainer-tools/xapian-check-patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xapian-maintainer-tools/xapian-check-patch b/xapian-maintainer-tools/xapian-check-patch index 0135a3d40..94411d9a3 100755 --- a/xapian-maintainer-tools/xapian-check-patch +++ b/xapian-maintainer-tools/xapian-check-patch @@ -480,7 +480,7 @@ QUOTELOOP: while (1) { if ($fnm !~ m!xapian-check-patch|ChangeLog|NEWS|stemming/.*/(?:voc|output)\.txt$!) { if (/^\+.*?\b(xapain|the the|initialsing|ipv5|outputing)\b/i || # Cases which just need to be the prefix of a word - /^\+.*?\b((?:deafult|parm|peform|acessor|comptib|seach|seperat|separater|iteratat|calulat)[a-z]*\b)/i || + /^\+.*?\b((?:deafult|parm|peform|acessor|comptib|seach|seperat|seprat|separater|iteratat|calulat)[a-z]*\b)/i || # Case-sensitive cases /^\+.*?\b(and and)\b/) { diagnostic('error', "Typo '$1'", $fullline); -- 2.11.4.GIT