Hello, I have been working on writing a directory-crawling program
that regexes file contents looking for a particular match. In my mission to
convert this program to a Windows binary, I have begun working with the GLib library
so that I can use some of its dynamic structures a bit further down the road
(as well as other components). After reading up on the prototype for the gregex
functions, I noticed that they use “gchar *” strings, which I now
understand to be simply “typedef char” character strings. Is there a regex package in GLib that is capable of
searching/matching wide characters? It’s not absolutely crucial to my
project, since at this point, there shouldn’t be any wide characters in
any of the file contents… but for future reference, I would like to try
and track down a wchar_t implementation of regex functions. I was hoping GLib
already had them, but perhaps I am wrong. Any suggestions? Todd Boyd Web Programmer |