[Lazarus] What's the correct way to use TRegexEngine?

Sven Barth pascaldragon at googlemail.com
Fri Dec 23 12:02:04 CET 2011


Am 23.12.2011 10:55, schrieb Graeme Geldenhuys:
>>
>> The regex that I'm using belongs to FCL.>>  "[FCL]RegEx.TRegexEngine".
>
> As far as I remember the regex unit included in FCL (released versions
> of FPC) is pretty limited in what it can do. I would not use that for
> any regex project. Use the TRegExpr library instead.
>
> Only recently did someone include a more powerful regex engine in FPC
> trunk - but I don't know how that one compares to the one from Andrey
> V. Sorokin.
>
>

It is the Sorokin one that was included, see here: 
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&revision=18891

Regards,
Sven




More information about the Lazarus mailing list