Re: BUG #3433: regexp \m and \M don't work for cyrillic - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3433: regexp \m and \M don't work for cyrillic
Date
Msg-id 2035.1183822256@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3433: regexp \m and \M don't work for cyrillic  ("Andriy Rysin" <arysin@gmail.com>)
Responses Re: BUG #3433: regexp \m and \M don't work for cyrillic  ("Andriy Rysin" <arysin@gmail.com>)
List pgsql-bugs
"Andriy Rysin" <arysin@gmail.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

pgsql-bugs by date:

Previous
From: "Andriy Rysin"
Date:
Subject: BUG #3433: regexp \m and \M don't work for cyrillic
Next
From: "Andriy Rysin"
Date:
Subject: Re: BUG #3433: regexp \m and \M don't work for cyrillic