Re: regexp_replace

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: regexp_replace
Дата
Msg-id 200506061602.j56G2BX18556@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: regexp_replace  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Nice. Patch removed.

---------------------------------------------------------------------------

Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> Don't we have this functionality already?  It's even SQL-spec ...
>
> > Uh, all I see it replace(), which isn't regex:
>
> The SQL-spec function is substring(string from pattern for escape-char);
> see
> http://www.postgresql.org/docs/8.0/static/functions-matching.html#FUNCTIONS-SIMILARTO-REGEXP
>
> and we also have a variant of that for POSIX rather than SQL-style
> regexps:
> http://www.postgresql.org/docs/8.0/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: regexp_replace
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: regexp_replace