![]() |
2009-12-11
, 14:59
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#2
|
![]() |
2009-12-11
, 15:04
|
Posts: 10 |
Thanked: 0 times |
Joined on Feb 2009
|
#3
|
![]() |
2009-12-11
, 15:13
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#4
|
![]() |
2009-12-11
, 16:24
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#5
|
![]() |
2009-12-11
, 17:57
|
Posts: 10 |
Thanked: 0 times |
Joined on Feb 2009
|
#6
|
Can you use pcre ? It seems to exist on the diablo repo at http://repository.maemo.org/pool/diablo/free/p/pcre3/
![]() |
2009-12-11
, 18:40
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#7
|
^([^"]*)"[^"]*"(.*)$
^([^"]*)
^[\w\s]+$
I am creating an app for tracking car (fueling, services, trips eg) and I need to validate input user gives me through gtkentry.
I have managed to create needed gregex patterns after a day of work just to find out that glib on Diablo is 2.12 and GRegex is included since 2.14.
So my question is if there is some way to validate entry with regular expressions other then GRegex class or there is a way to install GLib 2.14 or higher, or how should I validate user entry.
If you find this question newbee it's because I have no experience writing linux code and I would be thankfull for your advise.
ps. I using c and glib
Johnnnie