"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