Re: Typos in the code and README - Mailing list pgsql-hackers

From David Rowley
Subject Re: Typos in the code and README
Date
Msg-id CAApHDvpbCv0zBTU7Cehf27Y-jZvqL9DJvaqrpZiVATVrefsNsg@mail.gmail.com
Whole thread Raw
In response to Re: Typos in the code and README  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Mon, 21 Apr 2025 at 11:21, Michael Paquier <michael@paquier.xyz> wrote:
> Thanks for sharing the command able to spot all these.

I just pushed a few more. The previous regex didn't account for the
duplicate word being on the next line. I dug up the following to find
the ones just committed in 78eda9e26.

ag "\s([a-zA-Z]{2,})[\s*]*\n\1\b"
ag "\s([a-zA-Z]{2,})\n(\s*\*\s*)\1\b"

cd doc
ag "\s([a-zA-Z]{1,})[\s*]*\n\s+\1\b"

David



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Recent pg_rewind test failures in buildfarm
Next
From: Alexander Korotkov
Date:
Subject: Re: type cache cleanup improvements