Re: patch adding new regexp functions - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: patch adding new regexp functions
Date
Msg-id 200702161754.49301.peter_e@gmx.net
Whole thread Raw
In response to Re: patch adding new regexp functions  (David Fetter <david@fetter.org>)
Responses Re: patch adding new regexp functions  (David Fetter <david@fetter.org>)
List pgsql-patches
Am Freitag, 16. Februar 2007 17:11 schrieb David Fetter:
> > As for the regexp_matches() function, it seems to me that it returns
> > too much information at once.  What is the use case for getting all
> > of prematch, fullmatch, matches, and postmatch in one call?
>
> If not in one call, how would you get it?  Perl, for example, makes
> these available to any regex match in the form of variables it sets.

The question is, what is the use case?  If there is one in Perl, can this
proposed function API support it?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] ISO week dates
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] ISO week dates