]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Adjust regex for test with opening parenthesis in character classes
authorMichael Paquier <michael@paquier.xyz>
Wed, 28 May 2025 00:43:48 +0000 (09:43 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 28 May 2025 00:43:48 +0000 (09:43 +0900)
commit4dc642e75f1c6606c0904894841276c18f1d315d
tree7a6f4395104874c2e77e1b5aaa0c33e2288f4e8a
parentb3e99115e44c5040c949c99d081ff3812e6ec4a3
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
src/test/regress/expected/strings.out
src/test/regress/sql/strings.sql