maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Boost (https://talk.maemo.org/showthread.php?t=74347)

marmistrz 2011-06-26 09:18

Boost
 
Hi
How can I use boost under N900? If I can't, how can I use regular expressions?
Thanks in advance

Joorin 2011-06-26 10:06

Re: Boost
 
If you can't find a pre-compiled version of boost using the package manager of your choice, you can always download the source code and compile it yourself:
http://sourceforge.net/projects/boos.../boost/1.46.1/

If you're only going to do simple matching, with stable patterns, writing your own matcher isn't extremely hard.

The result is a state machine that do transitions using the next character in the string you're matching against.

linuxeventually 2011-06-26 10:47

Re: Boost
 
libboost is HORRIBLE to compile. I wouldn't wish it on someone. The source is huge, takes a LONG time to compile and it's not simple a ./configure, make, make install configuration.

Your question is somewhat vague...regular expressions, perl and sed come to mind.

uvatbc 2011-06-26 16:35

Re: Boost
 
Quote:

Originally Posted by marmistrz (Post 1039295)
Hi
How can I use boost under N900? If I can't, how can I use regular expressions?
Thanks in advance

I haven't checked out how to use boost, but from the responses so far it seems it's not easily possible. Therefore: use the regexp class in QT.

marmistrz 2011-06-28 14:37

Re: Boost
 
I need just a regexp engine.... What would be best for N900

TomppaS 2011-06-28 15:49

Re: Boost
 
Use Glib: http://developer.gnome.org/glib/2.28...pressions.html

uvatbc 2011-06-28 15:55

Re: Boost
 
Quote:

Originally Posted by marmistrz (Post 1040830)
I need just a regexp engine.... What would be best for N900

QRegExp


All times are GMT. The time now is 12:09.

vBulletin® Version 3.8.8