Re: glib regular expession api

On Fri, 2004-06-04 at 11:25, Andreas Rottmann wrote:
> Daniel Elstner <daniel elstner gmx net> writes:
> > Am Do, den 03.06.2004 um 21:00 Uhr -0400 schrieb Matthias Clasen:
> >> Last night I've dusted off an old patch which adds regular expression
> >> support based on PCRE to glib. Here is the api which I currently have.
> >> Does this look reasonable ? The full patch is attached to bug 50075.
> >
> [snip]
> >
> > Also, I see you're using pcre_info() which is deprecated and has been
> > replaced by pcre_fullinfo().  This probably doesn't matter much since a
> > modified pcre will be shipped with GLib [...]
> >
> Why modified? And even if you ship prce, which is reasonable, it would
> be nice to compile GLib gainst an external pcre; on systems where it
> is available to compile it into GLib as well would be a waste (I think
> e.g. Debian guys would prefer the external linkage, because of the
> disk space and RAM waste, plus the pcre shipped with GLib might become
> out of date).

We need pcre included for two reasons:
- we need pcre to use the glib malloc routines (and I think 
  the pcre_malloc indirection is only compile-time, right ?)
- I really want to make pcre use the glib unicode support 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]