Re: How portable are the POSIX.2 regular expression routines?

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: How portable are the POSIX.2 regular expression routines?
Дата
Msg-id 070e01c6aa0f$3dca3050$1f110dde@IBMC4B5932F74B
обсуждение исходный текст
Ответ на How portable are the POSIX.2 regular expression routines?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
From: "Tom Lane" <tgl@sss.pgh.pa.us>

> Andrew Dunstan <andrew@dunslane.net> writes:
>> Tom Lane wrote:
>>> Anyone have an opinion on the portability of the regular expression
>>> functions defined in POSIX 1003.2,
> 
>> Does Windows come with POSIX regex libs? I would be a bit surprised.
> 
>> When we discussed this at the conference I suggested to Magnus that he 
>> not use regexes. When I did initdb I originally looked at using a regex 
>> library, and realised that we really wouldn't need them, and the tiny 
>> replacement routines I wrote would be sufficient.

+1 for B.
I think so too. I covered the logic of Slonik of Slony-I again.
It was just for Windows.

> 
> All we really need is something that can handle patterns including ".*",
> because that's all that is used in the patterns in "resultmap".  That
> should be doable (inefficiently, but who cares) in just a few lines of
> code.  I'll go for Plan B for the moment.

It is the thing of several lines and being supported will be great, 
even if it is the limited object.
Probably, result will be made equal on all platforms.:-) 

Regards,
Hiroshi Saito




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How portable are the POSIX.2 regular expression routines?
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: 8.2 features?