Show quoted text 19 lines
On Wed, 30 Oct 2002, Mattias Gaertner wrote:
> Hi all,
>
> I'm searching a regular expression unit.
>
> - it must be completely written in pascal and be open source
> - it should support most of the 'extended' syntax like:
> {m,n}, |, parenthesis variables, \n, \w, \d, \s, *?, ...
> The more the better
> - it does not need to be fast
>
>
> thx in advance for any advice,
See the FPC packages, base/regexpr. It's written by Florian Klaempfl.
This is on the web-site, BTW :-)
I know, but the ToDo list in the unit says:
TODO:
- correct backtracking, for example in (...)*
- | support
- getting substrings and using substrings with \1 etc.
- test ^ and $
- newline handling in DOS?
- locals dependend upper/lowercase routines
- extend the interface
If I find no better unit, I will probably improve this one.
Mattias