Re: Notes about fixing regexes and UTF-8 (yet again) - Mailing list pgsql-hackers

From Vik Reykja
Subject Re: Notes about fixing regexes and UTF-8 (yet again)
Date
Msg-id CALDgxVvHVZuq9ZZX_tTHLGQW89LhZr2x0NUaa-eMALCkbfBDiw@mail.gmail.com
Whole thread Raw
In response to Re: Notes about fixing regexes and UTF-8 (yet again)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Notes about fixing regexes and UTF-8 (yet again)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Feb 19, 2012 at 05:03, Robert Haas <robertmhaas@gmail.com> wrote:
On Sat, Feb 18, 2012 at 10:38 PM, Vik Reykja <vikreykja@gmail.com> wrote:
> Does it make sense for regexps to have collations?

As I understand it, collations determine the sort-ordering of strings.
 Regular expressions don't care about that.  Why do you ask?

Perhaps I used the wrong term, but I was thinking the locale could tell us what alphabet we're dealing with. So a regexp using en_US would give different word-boundary results from one using zh_CN.

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: MySQL search query is not executing in Postgres DB
Next
From: Tom Lane
Date:
Subject: Re: Notes about fixing regexes and UTF-8 (yet again)