a regex lib would be a powerful feature of purebasic !
Dri
[Implemented] big request : regular expressions
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
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...
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...
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
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!
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!
-
- Enthusiast
- Posts: 229
- Joined: Wed May 14, 2003 3:38 pm
- Location: Lüneburg - Germany
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
My favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm