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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joel Jacobson" <joel(at)compiler(dot)org>
Cc: "Alvaro Herrera" <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Bizarre behavior of \w in a regular expression bracket construct
Date: 2021-02-24 17:14:47
Message-ID: 4099712.1614186887@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> I've also decided after reflection that the patch should indeed
> create a named "word" character class. That's allowed per POSIX,
> and it simplifies some aspects of the documentation, since we can
> rely on referencing the class instead of repeating ourselves.
> The attached 0001 v2 does that; it's otherwise the same as before.

Sigh, this time with the attachments ...

regards, tom lane

Attachment Content-Type Size
0001-rework-char-class-escapes-2.patch text/x-diff 45.5 KB
0002-DW-always-match-newline.patch text/x-diff 4.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Darafei Komяpa Praliaskouski 2021-02-24 18:34:59 Re: REINDEX backend filtering
Previous Message Tom Lane 2021-02-24 17:11:51 Re: Bizarre behavior of \w in a regular expression bracket construct