pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri

pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri

pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri

pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri

pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri

pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri

pgsql: Amend recent fix for SIMILAR TO regex conversion.

2025-09-13 Thread Tom Lane
Amend recent fix for SIMILAR TO regex conversion. Commit e3ffc3e91 fixed the translation of character classes in SIMILAR TO regular expressions. Unfortunately the fix broke a corner case: if there is an escape character right after the opening bracket (for example in "[\q]"), a closing bracket ri