| От | Tom Lane |
|---|---|
| Тема | Re: regular expressions stranges |
| Дата | |
| Msg-id | 18535.1169564436@sss.pgh.pa.us обсуждение |
| Ответ на | regular expressions stranges (Teodor Sigaev <teodor@sigaev.ru>) |
| Ответы |
Re: regular expressions stranges
|
| Список | pgsql-hackers |
Teodor Sigaev <teodor@sigaev.ru> writes:
> As I can see, that is because of using isalpha (and other is*), tolower &
> toupper instead of isw* and tow* functions. Is any reason to use them? If not, I
> can modify regc_locale.c similarly to tsearch2 locale part.
The regex code is working with pg_wchar strings, which aren't
necessarily the same representation that the OS' wide-char functions
expect. If we could guarantee compatibility then the above plan
would make sense ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера