Re: BUG #4044: Incorrect RegExp substring Output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4044: Incorrect RegExp substring Output
Дата
Msg-id 10502.1206027032@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4044: Incorrect RegExp substring Output  ("Rui Martins" <Rui.Martins@PDMFC.com>)
Список pgsql-bugs
"Rui Martins" <Rui.Martins@PDMFC.com> writes:
> But the sub-expression did "match" !

No, the sub-expression "(something)" did not match.  What did match
is the larger expression "(something)?".  You seem to be failing
to recognize that these are two different things.  If you put the
capturing parentheses around the larger expression then you will
get the result you want.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Rui Martins"
Дата:
Сообщение: Re: BUG #4044: Incorrect RegExp substring Output
Следующее
От: "Eugen Konkov"
Дата:
Сообщение: BUG #4047: case preserve for columns