Re: BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char
Дата
Msg-id 27286.1290621432@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char  ("Grzegorz Daniluk" <gdaniluk@gmail.com>)
Список pgsql-bugs
"Grzegorz Daniluk" <gdaniluk@gmail.com> writes:
> select regexp_replace('Foo Pasaż Bar', E'\\yPasaż\\y', '');

> Above query doesn't replace the word 'Pasaż'. It returns full 'Foo Pasaż
> Bar' string, when the correct behavior is to return 'Foo  Bar'.

Is this problem limited to \y, or do other regex operations that depend
on locale-specific character classification also not work for you?

            regards, tom lane

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

Предыдущее
От: "Grzegorz Daniluk"
Дата:
Сообщение: BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char
Следующее
От: "Darryl Pye"
Дата:
Сообщение: BUG #5767: Memory Leak