pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Adjust regex for test with opening parenthesis in character clas
Date: Wed, 28 May 2025 00:44:19 +0000
Message-ID: <E1uK4u1-000M3W-2o@gemulon.postgresql.org> (raw)

Adjust regex for test with opening parenthesis in character classes

As written, the test was throwing an error because of an unbalanced
parenthesis.  The regex used in the test is adjusted to not fail and to
test the case of an opening parenthesis in a character class after some
nested square brackets.

Oversight in d46911e584d4.

Discussion: https://postgr.es/m/16ab039d1af455652bdf4173402ddda145f2c73b.camel@cybertec.at

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4dc642e75f1c6606c0904894841276c18f1d315d

Modified Files
--------------
src/test/regress/expected/strings.out | 9 +++++++--
src/test/regress/sql/strings.sql      | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1uK4u1-000M3W-2o@gemulon.postgresql.org>
Permalink:  ../E1uK4u1-000M3W-2o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uK4u1-000M3W-2o@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Adjust regex for test with opening parenthesis in character clas
  In-Reply-To: <E1uK4u1-000M3W-2o@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox