Re: BUG #14415: non-breaking space matching in regex as whitespace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: valerijs(dot)gusjkovs(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14415: non-breaking space matching in regex as whitespace
Date: 2016-11-07 15:05:30
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

valerijs(dot)gusjkovs(at)gmail(dot)com writes:
> This was workng on 9.4 at least, but does not in 9.6. Followind returns
> should be reversed as non-breaking space is whitespace:

What encoding and LC_CTYPE are you using? AFAIR we haven't changed
anything about that code behavior since 9.4, so the most likely theory
is that your 9.6 installation is using a locale/encoding that doesn't
consider NBSP to be whitespace --- as C locale wouldn't, for example.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2016-11-07 15:12:19 Re: [BUGS] BUG #14350: VIEW with INSTEAD OF INSERT TRIGGER and COPY. Missing feature or working as designed.
Previous Message MauMau 2016-11-07 13:31:33 Re: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled