Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

pgsql: Adjust regex for test with opening parenthesis in character clas - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Adjust regex for test with opening parenthesis in character clas
Date
Msg-id E1uK4u1-000M3R-2g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a3c6d92f3cb3e49bde59e52268e2d74db05d7789

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


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix conversion of SIMILAR TO regexes for character classes
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 18 relnotes: clarify multiplication item