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

Re: BUG #5220: regexp fails on punctuation characters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "jef peeraer" <jef(dot)peeraer(at)telenet(dot)be>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5220: regexp fails on punctuation characters
Date: 2009-11-30 15:36:25
Message-ID: 4481.1259595385@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"jef peeraer" <jef(dot)peeraer(at)telenet(dot)be> writes:
> my lc_locale is set to en_US.UTF-8
> if i do a search like this

> select * from contacten
> where naam ~* 'RN' 
> and my contacten table contains a column naam with the value 
> RNTGEN TECHNISCHE DIENST NV
> -> it won't find it

Works for me.

It is true that ~* isn't very good about upper/lower case matching
for non-ASCII letters, but that doesn't seem to apply to your
example.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Pavel StehuleDate: 2009-11-30 17:28:28
Subject: Re: BUG #5218: Easy strategic feature requests
Previous:From: Robert HaasDate: 2009-11-30 15:23:15
Subject: Re: BUG #5218: Easy strategic feature requests

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