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

From Tom Lane
Subject Re: BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char
Date
Msg-id 27286.1290621432@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char  ("Grzegorz Daniluk" <gdaniluk@gmail.com>)
List 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 by date:

Previous
From: "Grzegorz Daniluk"
Date:
Subject: BUG #5766: regexp \y doesn't work properly when a word starts on ends with a UTF-8 char
Next
From: "Darryl Pye"
Date:
Subject: BUG #5767: Memory Leak