Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group