Re: Typos in the code and README

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Typos in the code and README
Date: 2025-04-21 01:52:53
Message-ID: CAApHDvpbCv0zBTU7Cehf27Y-jZvqL9DJvaqrpZiVATVrefsNsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 21 Apr 2025 at 11:21, Michael Paquier <michael(at)paquier(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2025-04-21 01:54:08 Re: type cache cleanup improvements
Previous Message Michael Paquier 2025-04-21 01:17:40 Re: Recent pg_rewind test failures in buildfarm