OK guys, after contemplating all your suggestions, I decide to follow the SynEdit way, that is, synregexpr unit. I suppose this unit tends to get more maintenance in the future.
Concerning the C++ PCRE library, it is the most full-featured reg-expr implementation, but calling C++ functions from FPC code in a cross-platform way is complex enough and causes of possible crash will be hard to investigate. Cheers. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal