pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: albert.cieszkowski@cc.com.pl
To: pgsql-bugs@postgresql.org
Subject: BUG #6457: Regexp not processing word (with special characters on ends) correctly (UTF-8)
Date: Tue, 14 Feb 2012 13:20:43 +0000
Message-ID: <E1RxIJH-000504-Ti@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6457
Logged by:          Albert Cieszkowski
Email address:      albert.cieszkowski@cc.com.pl
PostgreSQL version: 9.0.6
Operating system:   CentOS 5.x
Description:        

OS, base and client encoding UTF-8:

peimp=> select 'Świnoujście' ~* '\mŚwinoujście\M';
 ?column?
----------
 f
(1 row)

peimp=> select 'Świnoujście' ~* '\AŚwinoujście\Z';
 ?column?
----------
 t
(1 row)

but:

peimp=> select 'Mróz' ~* '\mmróZ\M';
 ?column?
----------
 t
(1 row)

peimp=> select 'Mróz' ~* '\AmróZ\Z';
 ?column?
----------
 t
(1 row)

I believe it is connected with bug #5766 and #3433.




view thread (6+ messages)  latest in thread

Message-ID: <E1RxIJH-000504-Ti@wrigleys.postgresql.org>
Permalink:  ../E1RxIJH-000504-Ti@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1RxIJH-000504-Ti@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: albert.cieszkowski@cc.com.pl
  Subject: Re: BUG #6457: Regexp not processing word (with special characters on ends) correctly (UTF-8)
  In-Reply-To: <E1RxIJH-000504-Ti@wrigleys.postgresql.org>
  References: <E1RxIJH-000504-Ti@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox