[Gambas-user] gb.pcre help anyone?

Ron ron at ...1740...
Wed Jul 23 21:47:15 CEST 2008


Hi,

In my quest to parse a string to get some values from it, I ended up 
with way to much string functions.

So I want to parse it a bit more efficient with gb.pcre... so far so 
good, but I 'm stumped as how to use it.
Very sparse docs found on gambasdoc.org, but can anybody give an example?

Let say I have this:
Temp #01[4D0000004FC78A26]=24.31C

And want to get the address (between the brackets) and the temp with the 
use of gb.pcre...

Maybe a competition; who can get those values with the least amount of 
Gambas code...? ;-)

Regards,
Ron_2nd




More information about the User mailing list