[fpc-devel] Including Sorokin's TRegExpr in FPC

Ludo Brands ludo.brands at free.fr
Mon Aug 29 15:33:38 CEST 2011


> 
> ops... fixed in rev 18893
> 

Got the file. 

Several issues though:
- a lot of the integers should be ptrint for 64 bit processors. That work has been done already in SynRegExpr.pas in the LCL.
- the file lost its UTF8 characters somewhere. In RegExpr you'll find RusRangeLo = 'àáâãäå¸æçèéêëìíîïðñòóôõö÷øùúûüýþÿ' while in SynRegExpr.pas it says RusRangeLo = 'абвгдеёжзийклмнопрстуфхцчшщъыьэюя' . 
- SynRegExpr.pas also contains some code clean up and some fixes not present in RegExpr.pas.
- the code crashes with cpu's requiring alignment. Patch for SynRegExpr.pas in http://bugs.freepascal.org/view.php?id=19109


Ludo


More information about the fpc-devel mailing list