Re: Regular expressions with glib?



* Eike Lange <eike lange uni-essen de> [2004-04-12 13:43:26 +0200]:

> I would like to contribute some regular expression code to GLib.
> This code uses "regexec(3)" and "regcomp(3)" to do all the stuff with 
> regular expressions (requires regex.h).
Good Idea.
btw: where does the code for regex.h come from ? 
glibc ?

> My questions is, whether I should base this code on "GString" or
> "gchar *" (requires string.h)  and if you think this contribution 
> could be useful.
hmm, what type is used more often ?
GString seems to be easier to handle.

btw: perhaps this code should be put into a separate module - the 
glib itself is already too big.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT services

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact metux de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
   -- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting --
---------------------------------------------------------------------



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