Re: Method to detect certain characters in column?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Antonio Perez <renjin25(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, ianmmeyer(at)mac(dot)com
Subject: Re: Method to detect certain characters in column?
Date: 2008-06-23 21:47:39
Message-ID: 20080623214739.GB4254@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Antonio Perez wrote:

> example
>
> SELECT name FROM  table1 where name
> ~* '*Ã*'

Actually this regex is flawed. It looks like a common shell "glob"
pattern (I don't know the real name of these things), which is a very
different and simpler animal from a regex.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-06-23 23:18:05 Re: Method to detect certain characters in column?
Previous Message Antonio Perez 2008-06-23 21:22:46 Re: Method to detect certain characters in column?