[fpc-devel] Including Sorokin's TRegExpr in FPC
Ludo Brands
ludo.brands at free.fr
Tue Aug 2 08:48:12 CEST 2011
I knew I recognised the name of the author. This code is already used in
lazarus and can be found in components/synedit/synregexpr.pas. I had to work
on it because the original code doesn't run on cpu's requiring alignment.
The patch is attached at http://bugs.freepascal.org/view.php?id=19109.
Ludo
> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org
> [mailto:fpc-devel-bounces at lists.freepascal.org] De la part de
> Felipe Monteiro de Carvalho
> Envoyé : mardi 2 août 2011 08:12
> À : FPC developers' list
> Objet : [fpc-devel] Including Sorokin's TRegExpr in FPC
>
>
> Hello,
>
> I was porting a Delphi project and I needed support for
> TRegExpr. Well, it seams that FPC doesn't already come with
> one, but it has a Regexpr unit, but it's docs are not very
> positive about how complete this library is:
>
> http://wiki.lazarus.freepascal.org/Regexpr
>
> But I asked Sorokin if he could relicense TRegExpr from
> RegExpStudio in the same modifyed LGPL as the FPC RTL and FCL
> and he agreed!
>
> So, what do you think about adding this unit to FPC:
>
> http://openpokergrid.svn.sourceforge.net/viewvc/openpokergrid/
Components/regexpr/RegExpr.pas?revision=202&view=markup
The only issue is that it has a name colision with an already existing unit
in FPC.
Hopefully now people won't say anymore that FPC does not have a good regular
expression support =)
I tested this unit in Linux and it worked fine for my project.
thanks,
--
Felipe Monteiro de Carvalho _______________________________________________
fpc-devel maillist - fpc-devel at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list