"Grzegorz Daniluk" <gdaniluk(at)gmail(dot)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