Re: Glib Regex?
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Cc: Scott Wimer <scottw mail cgibuilder com>
- Subject: Re: Glib Regex?
- Date: 13 Apr 2000 14:59:54 -0400
Derek Simkowiak <firstname.lastname@example.org> writes:
> I think regex-based searches are a feature that many applications
> would want, so I'm considering adding some kind of regex-based search to
> the GtkEtextBuffer API. However, I don't want to do that unless there is
> a Glib wrapper for GNU regex.
> So: Has this come up before? Has any work been done? Would there
> be a problem with adding regexes to Glib? I might be willing to do it if
> people are interested.
Regular expressions have been proposed a number of times, and the decision
was made to use the PCRE library, so that we would have nice (perl-style)
Scott Wimer (cc'ed) had a pretty-functional start at doing this
but there were some issues about packaging that we never quite resolved.
Another thing is that it would really be nice to support Unicode - in
particular UTF-8 in whatever regular expressions we use. Perl 5.6 does
this quite nicely. However, converting PCRE to handle UTF-8 is a
moderately big job to do right, so this probably may not going to make
] [Thread Prev