BUG #8679: Error in regex function

Поиск
Список
Период
Сортировка
От spmpro@pochta.ru
Тема BUG #8679: Error in regex function
Дата
Msg-id E1VrNrf-0001cE-4P@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #8679: Error in regex function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8679
Logged by:          Andrzej
Email address:      spmpro@pochta.ru
PostgreSQL version: 9.2.0
Operating system:   Ubuntu
Description:

Hi, I make command select regexp_replace('rewqe ','(?<=[q]{1})[e]{1}(?=[\-
$]+)','11');
and he return error 'invalid regular expression: quantifier operand
invalid', but regex is correct (check by http://gskinner.com/RegExr/). This
error repeat in another regex function (regexp_matches,
regexp_split_to_array).


But command select regexp_replace('rewqe ','[e]{1}(?=[\- $]+)','11') work
good. May be, regex construction (?<=\pattern\) is not support?

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: stats_temp_directory SIGHUP documentation bug
Следующее
От: anitchakkarwar@gmail.com
Дата:
Сообщение: BUG #8681: column 'n_tup_del' of pg_stat_user_tables doesn't change in case of truncate