Re: [HACKERS] regular expressions from hell

Поиск
Список
Период
Сортировка
От dg@illustra.com (David Gould)
Тема Re: [HACKERS] regular expressions from hell
Дата
Msg-id 9805312346.AA27599@hawk.illustra.com
обсуждение исходный текст
Ответ на regular expressions from hell  (Brett McCormick <brett@work.chicken.org>)
Ответы Re: [HACKERS] regular expressions from hell  (Brett McCormick <brett@work.chicken.org>)
Список pgsql-hackers
> I've noticed there are no less then 10^10 regex implementations.
> Is there a standard?  Does ANSI have a regexp standard, or is there
> a regex standard in the ANSI SQL spec?  What do we use?

Good question. I think one of the standard unix regex's should be ok. At least
everyone knows how to work it, and they are quite small.

> Personally, I'm a perl guy, so everytime I have to bend my brain to
> some other regex syntax, I get a headache.  As part of my perl PL
> package, perl regexps will be included as a set of operators.
>
> Is there interest in the release of perl-style regexp operators for
> postgres before the PL is completed?  Note that this requires the
> entire perl library to be loaded when the operator is used (possibly
> expensive).  But, if you have a shared perl library, this only has to
> happen once.

Hmmm, I really like the perl regex's, especially the extended syntax, but
I don't want to load a whole perl lib to get this.

-dg

David Gould            dg@illustra.com           510.628.3783 or 510.305.9468
Informix Software  (No, really)         300 Lakeside Drive  Oakland, CA 94612
"Of course, someone who knows more about this will correct me if I'm wrong,
 and someone who knows less will correct me if I'm right."
               --David Palmer (palmer@tybalt.caltech.edu)

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] custom types and optimization
Следующее
От: dg@illustra.com (David Gould)
Дата:
Сообщение: Re: [HACKERS] Re: [DOCS] Re: FE/BE protocol revision patch