regexp_replace

Поиск
Список
Период
Сортировка
От Marcin Krawczyk
Тема regexp_replace
Дата
Msg-id 95f6bf9b0808010422q4a16b3balc19790de5328e267@mail.gmail.com
обсуждение исходный текст
Ответы Re: regexp_replace  ("Pawel Socha" <pawel.socha@gmail.com>)
Список pgsql-sql
Hi all. I'd like to know whether it's possible to reverse the
behaviour of regexp_replace, meaning :
now if I do
SELECT regexp_replace ('foobarbaz', 'b..', 'X') I get 'fooXbaz' - it
replaces the string that matches given pattern with 'X', how do I
achieve the opposite - replace the string that doesn't match the
pattern ?

regards
mk


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

Предыдущее
От: "Marcin Stępnicki"
Дата:
Сообщение: Re: How to change a view's owner in postgres
Следующее
От: "Pawel Socha"
Дата:
Сообщение: Re: regexp_replace