Re: Referencing parts captured by round brackets in a regex in 8.4.13

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Referencing parts captured by round brackets in a regex in 8.4.13
Date: 2013-03-22 15:46:39
Message-ID: CAADeyWi8BJLB1-bLxqHL_0cK4cZWvr0s8cT=QBwmJRcpV=SNQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, I finally get it - this works fine:

# select 'axxxxxyz' ~ E'(.)\\1\\1';
?column?
----------
t
(1 row)

# select 'ОШИБББКА' ~ E'(.)\\1\\1';
?column?
----------
t
(1 row)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2013-03-22 15:52:16 Re: Re: Matching uppercased russian words (\x0410-\x042F) in UTF8 database 8.4.13
Previous Message Tom Lane 2013-03-22 15:46:31 Re: Rewritten rows on unchanged values