Re: Generic character types of gregex are unrecognised

2009-01-10 Thread tks
> No - it's actually not obvious, especially since regular > expressions are a separate type in some other languages. > > Liam yeah, I'm almost always writing codes in Python these days and it seems to put the manner of C out of my mind. Thank you for your kindness. ___

Re: Generic character types of gregex are unrecognised

2009-01-08 Thread tks
> On Wed, 2009-01-07 at 02:00 +0900, tks wrote: > [...] >> reg = g_regex_new ("\d\D\s\S\w\W", >> 0, >> 0, >> &error); > > > Watch out that \ is special in C strings, so you n

Generic character types of gregex are unrecognised

2009-01-06 Thread tks
Hi. As long as reading http://library.gnome.org/devel/glib/stable/glib-regex-syntax.html , we can use generic character types of gregex such like "\s", "\d" etc..., but they are not recognized in my sample code. === #include int main(int argc, char *argv[]) { GRegex *