Re: BUG #3433: regexp \m and \M don't work for cyrillic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andriy Rysin" <arysin(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3433: regexp \m and \M don't work for cyrillic
Date: 2007-07-07 15:30:56
Message-ID: 2035.1183822256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Andriy Rysin" <arysin(at)gmail(dot)com> writes:
> escaping specials in regular expressions \m and \M for beginning of word and
> end of word work for latin symbols bug don't for cyrillic

Sorry, the locale-specific regex features only work on single-byte
characters at the moment. In any case you'd need to be using a Russian
locale (maybe you are, but you didn't say). I'd expect this feature
to work with Cyrillic letters in ru_RU locale + KOI8 encoding, but not
elsewhere.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andriy Rysin 2007-07-07 17:26:29 Re: BUG #3433: regexp \m and \M don't work for cyrillic
Previous Message Andriy Rysin 2007-07-07 00:20:24 BUG #3433: regexp \m and \M don't work for cyrillic