regexp_replace

Поиск
Список
Период
Сортировка
От Atsushi Ogawa
Тема regexp_replace
Дата
Msg-id PIEMIKOOMKNIJLLLBCBBCEADCJAA.a_ogawa@hi-ho.ne.jp
обсуждение исходный текст
Ответы Re: regexp_replace  (Andrew Dunstan <andrew@dunslane.net>)
Re: regexp_replace  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
I made the patch that implements regexp_replace again.
The specification of this function is as follows.

regexp_replace(source text, pattern text, replacement text, [flags text])
returns text

Replace string that matches to regular expression in source text to
replacement text.

 - pattern is regular expression pattern.
 - replacement is replace string that can use '\1'-'\9', and '\&'.
    '\1'-'\9': back reference to the n'th subexpression.
    '\&'     : entire matched string.
 - flags can use the following values:
    g: global (replace all)
    i: ignore case
    When the flags is not specified, case sensitive, replace the first
    instance only.

regards,

--- Atsushi Ogawa

Вложения

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

Предыдущее
От: Petr Jelínek
Дата:
Сообщение: Re: limiting connections per user/database
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Implementing SELECT FOR UPDATE [NOWAIT]