Page 1 of 1
[Implemented] big request : regular expressions
Posted: Sun Oct 09, 2005 2:50 pm
by Dr. Dri
a regex lib would be a powerful feature of purebasic !
Dri
Posted: Mon Oct 10, 2005 12:03 am
by dell_jockey
This has been asked a lot of time. A forum search on "regular expressions" returned eleven entries....
For now, you could try and use a library like
http://www.pcre.org/
PCRE is a library that offers PERL 5 compatible regular expression evaluation. The library is free for any use - even commercial - so it might well be a basis for implementing a PureBasic RegEx library...
Posted: Mon Oct 10, 2005 5:07 am
by ricardo
FloHimself has write 2 PB libs for regex, find it in purearea.net
Posted: Mon Oct 10, 2005 12:50 pm
by dell_jockey
of course I was aware of the two regex libs that FloHimself published some years back. I did't seem to be able to locate them though.
Searching on purearea.net (both in the archive and the rest of the site) I drew a blank. The archive 2.0 on my laptop didn't have them either. Florian's old website (the one mentioned in his profile on the German board) isn't up anymore, so that's why I gave a link to the pcre site.
If anyone can re-post the source of those two regex libraries, I'd be very grateful!
Posted: Mon Oct 10, 2005 1:53 pm
by FloHimself
dell_jockey wrote:of course I was aware of the two regex libs that FloHimself published some years back. I did't seem to be able to locate them though.
http://purearea.net/pb/english/userlibs.php
->
http://purearea.net/pb/download/userlibs/PBRegExp.zip
->
http://purearea.net/pb/download/userlibs/PBRegExpEx.zip
Posted: Mon Oct 10, 2005 2:16 pm
by dell_jockey
Thanks Flo! Danke schön! I searched for 'PBRegEx', not 'RegEx', silly me...