Inside the Regex Engine

Поиск
Список
Период
Сортировка
От david@fetter.org (David Fetter)
Тема Inside the Regex Engine
Дата
Msg-id a7KcncurqMNk3FCiXTWc-w@speakeasy.net
обсуждение исходный текст
Ответы Re: Inside the Regex Engine  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: Inside the Regex Engine  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Kind people,

As a perl weenie, I'm used to being able to do things with regexes
like

$text =~ s/(foo|bar|baz)/NO UNIX WEENIES HERE/;
$got_it = $1;

While PL/Perl is great, it's not available everywhere, and I'd like to
be able to grab atoms from a regex match in, say, a SELECT.  Is there
some way to get access to them?

TIA for any pointers on this :)

Cheers,
D
-- 
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100    cell: +1 415 235 3778

Civil government, so far as it is instituted for the security of
property, is in reality instituted for the defense of the rich against
the poor, or of those who have some property against those who have
none at all.                                                   Adam Smith


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

Предыдущее
От: Claudio Natoli
Дата:
Сообщение: fork/exec problem: DynaHashCxt
Следующее
От: greg@turnstep.com
Дата:
Сообщение: Re: ALTER SEQUENCE enchancement