Re: Generic character types of gregex are unrecognised
- From: tks <tksmashiw gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Generic character types of gregex are unrecognised
- Date: Thu, 8 Jan 2009 17:43:23 +0900
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 need
\\d\\D etc.
Liam
Thanks, I'm so stupid! :P
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]