Re: Regular Expressions

Поиск
Список
Период
Сортировка
От Guy Fraser
Тема Re: Regular Expressions
Дата
Msg-id 1174487806.26600.15.camel@sigurd.incentre.net
обсуждение исходный текст
Ответ на Regular Expressions  ("Ezequias R. da Rocha" <ezequias@fastcon.com.br>)
Ответы Re: Regular Expressions
Список pgsql-sql
On Wed, 2007-03-21 at 11:04 -0300, Ezequias R. da Rocha wrote:
> Hi list,
> 
> I would like to know if postgresql has a Regular Expressions (Regex) 
> implemented already.
> 
> With it we could implement queries like
> 
> Select * from myClientes where name = 'E[zs]equias'
> 
Case Sensitive Regular Match ~
Case Insensitive Regular Match ~*
Negated Case Sensitive Regular Match !~
Negated Case Insensitive Regular Match !~*

Select * from myClientes where name ~ 'E[zs]equias'

> where the result occurs even if the field has Ezequias or Esequias.
> 
> Regards
> Ezequias
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 
-- 
Guy Fraser
Network Administrator
The Internet Centre
1-888-450-6787
(780)450-6787




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

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: Re: Regular Expressions
Следующее
От: Tom Lane
Дата:
Сообщение: Anyone still using the sql_inheritance parameter?