Re: Bizarre behavior of \w in a regular expression bracket construct

From: "Joel Jacobson" <joel(at)compiler(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Alvaro Herrera" <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Bizarre behavior of \w in a regular expression bracket construct
Date: 2021-02-21 18:27:25
Message-ID: c1896d9d-9d8b-4096-9348-57c76173c33e@www.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Feb 21, 2021, at 18:39, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> > This one I didn't understand:
> >> ^([\W])$ | pg |
>
> I think Joel just forgot to mark that as ERROR.

Yes, my mistake, sorry about that,
(I manually edited the query result and replaced empty-field with "ERROR").

(I see I also forgot to mark the ones in the first ASCII part
of the email as ERROR, which should have been the
ones with an empty field for engine "pg".)

/Joel

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2021-02-21 18:39:03 Re: How to customize postgres for sharing read-only tables in multiple data-dirs between servers
Previous Message Stephen Frost 2021-02-21 18:26:27 Re: Is a connection max lifetime useful in a connection pool?