From 6af058c59b1bf4a0e8bad5627de18ccf04180cb1 Mon Sep 17 00:00:00 2001 From: Erik <18669618+etomzak@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:24:29 +0100 Subject: [PATCH] Include cf. (compare) in set of non-line-ending abbreviations --- adoc/scripts/reflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adoc/scripts/reflow.py b/adoc/scripts/reflow.py index f5bf81b1..bda81b9e 100755 --- a/adoc/scripts/reflow.py +++ b/adoc/scripts/reflow.py @@ -53,7 +53,7 @@ # A single letter followed by a period, typically a middle initial. endInitial = re.compile(r'^[A-Z]\.$') # An abbreviation, which does not (usually) end a line. -endAbbrev = re.compile(r'(e\.g|i\.e|c\.f|\bvs\b|\bco\b|\bltd\b|\bch\b)\.$', re.IGNORECASE) +endAbbrev = re.compile(r'(e\.g|i\.e|c\.f|\bvs\b|\bco\b|\bltd\b|\bch\b|\bcf\b)\.$', re.IGNORECASE) # A lower case word. When "etc." is followed by this, it does not end a line. startsLowerCase = re.compile(r'\(?[a-z]')