Re: Mixing greediness in regexp_matches

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Mixing greediness in regexp_matches
Дата
Msg-id 9597.1577117818@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Mixing greediness in regexp_matches  ("Daniel Verite" <daniel@manitou-mail.org>)
Список pgsql-general
"Daniel Verite" <daniel@manitou-mail.org> writes:
> FWIW, in plperl, there's a simple solution:
>  $string =~ s/(foobar|foo|...)/$replace{$1}/g

Well, our manual does suggest using plperl (or pltcl) when the
built-in pattern match functions aren't adequate ;-)

            regards, tom lane



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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: Mixing greediness in regexp_matches
Следующее
От: Maksim Milyutin
Дата:
Сообщение: Re: Commit to primary with unavailable sync standby