Benito van der Zander

Results 146 comments of Benito van der Zander

> The 'big' macro wants you to use SI spaces every three digits, e.g.: > It does? Why? Perhaps it should just accept both (w+w/o spaces) On 04/13/2013 06:02 PM,...

Here is the correct disassembler (but it is the same file, you can see they both start with a9bf7bfd with reveerse endian) ``` 0000000000234a50 : PTRPOSCHAR(): components/pascal/import/flre/src/FLRE.pas:5727 const MaskA=TFLREPtrUInt({$ifdef cpu64}$fefefefefefefeff{$else}$fefefeff{$endif});...

This is still broken See also: ``` program Project1; uses FLRE; var f: TFLRE; begin f := TFLRE.Create('^(?:\d+\d+\d+\d+)$', []); writeln( f.DumpRegularExpression ); writeln(f.Test('1')); writeln(f.Test('12')); writeln(f.Test('123')); writeln(f.Test('1234')); writeln(f.Test('12345')); end. ``` My...

> When I remove them, then I will get > > ![image](https://user-images.githubusercontent.com/428863/203371007-8b4645b5-3f5a-40b9-9efc-fac5c895fea5.png) > > thus, they should stay there, I guess. perhaps they need to be put in libFLRE.dpr a...

I missed one: assertMatch('^(?:\p{IsCyrillic}+)$', 'ЀЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяѐёђѓєѕіїјљњћќѝўџѠѡѢѣѤѥѦѧѨѩѪѫѬѭѮѯѰѱѲѳѴѵѶѷѸѹѺѻѼѽѾѿҀҁ҂҃҄҅҆҇҈҉ҊҋҌҍҎҏҐґҒғҔҕҖҗҘҙҚқҜҝҞҟҠҡҢңҤҥҦҧҨҩҪҫҬҭҮүҰұҲҳҴҵҶҷҸҹҺһҼҽҾҿӀӁӂӃӄӅӆӇӈӉӊӋӌӍӎӏӐӑӒӓӔӕӖӗӘәӚӛӜӝӞӟӠӡӢӣӤӥӦӧӨөӪӫӬӭӮӯӰӱӲӳӴӵӶӷӸӹӺӻӼӽӾӿ') //U+0400, U+0401, U+0402, U+0403, U+0404, U+0405, U+0406, U+0407, U+0408, U+0409, U+040A, U+040B, U+040C, U+040D, U+040E, U+040F, U+0410, U+0411, U+0412, U+0413, U+0414, U+0415, U+0416, U+0417, U+0418,...

If you look at the picture, you see indexOf is called over a million times, yet freenodes calls it only 90 000 times. The other 900 000 calls are in...

Also, TList... There is no reason to use TList with fpc. It is just a wrapper around TFPList. TFPList is preferable, unless you need event handling

I forgot the [rfUTF8] flag But the first three still fail with it: f := TFLRE.Create('k', [rfIGNORECASE,rfUTF8]); writeln(f.Find('K')); f := TFLRE.Create('K', [rfIGNORECASE,rfUTF8]); writeln(f.Find('K')); f := TFLRE.Create('[a-z]', [rfIGNORECASE,rfUTF8]); writeln(f.Find('K')); f :=...

Perhaps `lea esp, [esp - 12] ` is better? https://github.com/benibela/flre/commit/fb1038d2a808cb93c494ccaa82a8e444938ddbde

Which older compilers? Compilers that do not know `lea`? I just tried it in Delphi 4 and it knows it Or compilers that some other kind of alignment?