[fpc-pascal] regex vs synregexpr unit

Flávio Etrusco flavio.etrusco at gmail.com
Sun Jun 6 14:57:50 CEST 2010


http://delphi.about.com/od/toppicks/tp/delphi-regular-expressions.htm

The regex unit in SynEdit is an old version of the code from
regexpstudio.com (which seems to be offline) is said to be very slow
for processing large sets of data, like a whole file. In SynEdit it`s
used to process single lines, and in this situations it seems pretty
good.

Best regards,
Flavio


On Sun, Jun 6, 2010 at 12:32 PM, Juha Manninen <juha.manninen at phnet.fi> wrote:
> Hi
>
>> Speed is important to me, but reg-expr features is important as well.
>> Actually, I want to include reg-expr as an alternative search mode in
>> my general-purpose file search unit.
>
> Then the SynEdit's version of regexp should be fast enough.
> SynEdit editor in Lazarus for example uses it and it's quite fast.
> File I/O is the slowest part when searching from files.
>
> Juha
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list