regular expression in Gtk
- From: Michal ROMAN <michal roman nov sk>
- To: gtk-app-devel-list gnome org
- Subject: regular expression in Gtk
- Date: 11 Oct 2001 19:37:39 +0200
Hi all.
Does anybody know how to use regular expressions in Gtk program?
For example for
pattern : ^[0-9]\{6\}/[0-9]\{3,4\}$
string : 123456/789
I have tried :
1.
regcomp() and regexec() in terminal program
OK
2.
regcomp() and regexec() in Gtk program
FALSE
Why?
I've found Gtk functions gtk_pattern_...(). Does this functions use the
same format of regular expressions like regexec()? Can yoou give me some
example?
Thank you.
Michal.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]