PL/TCL regex string matching

Поиск
Список
Период
Сортировка
От Marcin Mazurek
Тема PL/TCL regex string matching
Дата
Msg-id 20001120181608.A4085@poznan.mtl.pl
обсуждение исходный текст
Ответы Re: PL/TCL regex string matching  ("Robert B. Easter" <reaster@comptechnews.com>)
Список pgsql-general
Hi,
I'm trying to write a TCL function which uses regex string matching.
    spi_exec "SELECT count(s.id)  as res FROM services s
                    WHERE
                s.name=''email account ([0-9+])MB''";

I'd like to match any service with name starting "email account " and quota
at the end.
I was trying to use ([0-9+]), (1,2) and some others that I've found in TCL
guides.
Is it possible to use regex in PL/TCL and can You show me with the exmaple
how?

tia
mazek


Marcin Mazurek

--
Kierownik Działu Systemowego
MULTINET SA o/Poznan
http://www.multinet.pl/

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PL/Perl on Solaris
Следующее
От: "Robert B. Easter"
Дата:
Сообщение: Re: PL/TCL regex string matching