BUG #11523: Regular expressions work differently on different platforms
В списке pgsql-bugs по дате отправления:
| От | dmigowski@ikoffice.de |
|---|---|
| Тема | BUG #11523: Regular expressions work differently on different platforms |
| Дата | |
| Msg-id | 20140930095625.7631.32436@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #11523: Regular expressions work differently on different platforms
|
| Список | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 11523
Logged by: Daniel Migowski
Email address: dmigowski@ikoffice.de
PostgreSQL version: 9.1.2
Operating system: Debian Linux 6.0.6 + Windows 7
Description:
I recently found that regular expressions, or specifically the [:space:]
shorthand escape work differntly on Windows and Linux. On Linux the
non-brakeable space is not included in the shorthand escape, on windows it
is. The following statement is therefore true on Windows and false on
Linux:
select convert_from(E'\\xA0'::bytea,'ISO8859-1') ~ '\s'
This brakes email validation here, and the insert of a linux created backup
into my windows machine. Is it possible to fix that? Is there a reason that
UTF-8 on Linux differs from UTF-8 on Windows?
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера