Re: BUG #5220: regexp fails on punctuation characters - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5220: regexp fails on punctuation characters
Date
Msg-id 4481.1259595385@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5220: regexp fails on punctuation characters  ("jef peeraer" <jef.peeraer@telenet.be>)
List pgsql-bugs
"jef peeraer" <jef.peeraer@telenet.be> writes:
> my lc_locale is set to en_US.UTF-8
> if i do a search like this

> select * from contacten
> where naam ~* 'RÖN'
> and my contacten table contains a column naam with the value
> RÖNTGEN 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

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #5218: Easy strategic feature requests
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #5218: Easy strategic feature requests