[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] maint.mk: expand the prohibit_doubled_word regex
From: |
Jim Meyering |
Subject: |
Re: [PATCH v3] maint.mk: expand the prohibit_doubled_word regex |
Date: |
Tue, 2 Aug 2016 08:28:36 -0700 |
On Tue, Aug 2, 2016 at 6:41 AM, Ján Tomko <address@hidden> wrote:
> - /\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims
> + /\b(?:$(subst $(space),|,$(prohibit_doubled_word_expanded_)))\b/gims
Thank you. I am preparing to push that, but with an important change:
a quick test showed that it matched way too many lines because
"$(space)" is not defined. Replacing with $(_sp) fixed it:
k.diff
Description: Text document