Re: BUG? Regular expression matching of optional character group at beginning of RE - Mailing list pgsql-general

From Tom Lane
Subject Re: BUG? Regular expression matching of optional character group at beginning of RE
Date
Msg-id 7488.1341957808@sss.pgh.pa.us
Whole thread Raw
In response to BUG? Regular expression matching of optional character group at beginning of RE  (Viktor Rosenfeld <listuser36@googlemail.com>)
List pgsql-general
Viktor Rosenfeld <listuser36@googlemail.com> writes:
> I've noticed that regular expressions which are anchored at the
> beginning of the text but have an optional part at the beginning
> (e.g. '^(ge)?kommen$') are not evaluated correctly if there is an
> index on the column.

I have committed fixes for this.  Thanks for the report!

            regards, tom lane

pgsql-general by date:

Previous
From: Efraín Déctor
Date:
Subject: Error with plpython
Next
From: Efraín Déctor
Date:
Subject: Error with plpython