Re: [fpc-pascal] regex vs synregexpr unit

2010-06-12 Thread Joost van der Sluis
On Sun, 2010-06-06 at 10:06 +0200, Graeme Geldenhuys wrote: > On 05/06/2010, Bihar Anwar wrote: > > I've search fpc mailing list about this matter, I found they were discussed > > a long time ago (2006), and I still didn't have a conclusion about which one > > I have looked into this as well, abou

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-06 Thread Bihar Anwar
OK guys, after contemplating all your suggestions, I decide to follow the SynEdit way, that is, synregexpr unit. I suppose this unit tends to get more maintenance in the future. Concerning the C++ PCRE library, it is the most full-featured reg-expr implementation, but calling C++ functions from

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-06 Thread Flávio Etrusco
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

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-06 Thread Juha Manninen
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 i

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-06 Thread Bihar Anwar
On June 6, 2010 3:06:06 PM, Graeme Geldenhuys wrote: > I have looked into this as well, about 2 months ago. From my initial > research it seems the regex unit included with FCL is not as > feature-complete as the one in SynEdit. On June 6, 2010 3:54:53 PM, Juha Manninen wrote: >I also chose SynEdi

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-06 Thread Juha Manninen
I also chose SynEdit for Lazarus Delphi converter for some reason. (I think it was the first hit when searching "regexp" from Lazarus code base). It works well. I would guess the other choices work well, too. About the speed difference: I don't believe there is any huge difference. Please remembe

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-06 Thread Graeme Geldenhuys
On 05/06/2010, Bihar Anwar wrote: > I've search fpc mailing list about this matter, I found they were discussed > a long time ago (2006), and I still didn't have a conclusion about which one I have looked into this as well, about 2 months ago. From my initial research it seems the regex unit inclu

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread Bihar Anwar
Schindler Karl-Michael wrote on June 6, 2010 1:09:02 AM: >The pcre library (written in C) has a good reputation. You can get pascal headers from the Project JEDI Code Library (JCL). Wow, that seems a more promising approach in the current time, I'll look on it. Thanks so much. BTW, which approa

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread Schindler Karl-Michael
Hi The pcre library (written in C) has a good reputation. You can get pascal headers from the Project JEDI Code Library (JCL). Mischi___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] regex vs synregexpr unit

2010-06-05 Thread spir
On Sat, 5 Jun 2010 09:54:51 -0700 (PDT) Bihar Anwar wrote: > I've search fpc mailing list about this matter, I found they were discussed a > long time ago (2006), and I still didn't have a conclusion about which one > should be used. I need an advice about which unit should be used in terms of