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

2011-08-31 Thread Marcos Douglas
On Wed, Aug 31, 2011 at 2:55 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Tue, Aug 30, 2011 at 10:22 PM, Florian Klämpfl flor...@freepascal.org wrote: Why didn't you just give the sorokin tregexpr unit another name? This way, no incompatiblities would have been

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

2011-08-31 Thread John Lee
Just googled 'Benjamin Rosseax regexpr' and don't find anything that's trelevant! Where is it please? John On 31 August 2011 15:41, Marcos Douglas m...@delfire.net wrote: On Wed, Aug 31, 2011 at 2:55 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Tue, Aug 30,

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

2011-08-31 Thread Ralf A. Quint
At 08:07 AM 8/31/2011, John Lee wrote: Just googled 'Benjamin Rosseax regexpr' and don't find anything that's trelevant! Where is it please? It might help for a start to get the name right, his last name is Rosseaux... http://bero.freqvibez.net/public/BESEN/BESEN.pas hth, Ralf

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

2011-08-30 Thread Florian Klämpfl
Am 29.08.2011 13:18, schrieb Felipe Monteiro de Carvalho: I added Sorokins RegExpr to packages in rev 18891 introducing the following incompatibility: http://wiki.lazarus.freepascal.org/User_Changes_Trunk#regexpr.pp_was_renamed_to_oldregexpr.pp The main file from Joost Reg Expresions was

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

2011-08-30 Thread Florian Klämpfl
Am 30.08.2011 22:22, schrieb Florian Klämpfl: Am 29.08.2011 13:18, schrieb Felipe Monteiro de Carvalho: I added Sorokins RegExpr to packages in rev 18891 introducing the following incompatibility: http://wiki.lazarus.freepascal.org/User_Changes_Trunk#regexpr.pp_was_renamed_to_oldregexpr.pp

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

2011-08-30 Thread Felipe Monteiro de Carvalho
On Tue, Aug 30, 2011 at 10:22 PM, Florian Klämpfl flor...@freepascal.org wrote: Why didn't you just give the sorokin tregexpr unit another name? This way, no incompatiblities would have been introduced. Because: 1 the old regexpr.pas had something like 20 lines of code and it's own description

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

2011-08-29 Thread Felipe Monteiro de Carvalho
I added Sorokins RegExpr to packages in rev 18891 introducing the following incompatibility: http://wiki.lazarus.freepascal.org/User_Changes_Trunk#regexpr.pp_was_renamed_to_oldregexpr.pp The main file from Joost Reg Expresions was RegEx.pp so probably many users won't be affected. -- Felipe

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

2011-08-29 Thread Felipe Monteiro de Carvalho
Place for some docs: http://wiki.lazarus.freepascal.org/Regexpr -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

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

2011-08-29 Thread Ludo Brands
I added Sorokins RegExpr to packages in rev 18891 introducing the following incompatibility: Something went wrong with the commit. The rename worked but the new regex.pp isn't committed: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/regexpr/src/ U

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

2011-08-29 Thread Felipe Monteiro de Carvalho
On Mon, Aug 29, 2011 at 2:31 PM, Ludo Brands ludo.bra...@free.fr wrote: Something went wrong with the commit. The rename worked but the new regex.pp There is no new regex.pp, I did not modify this file, it is still Joost's version. Sorokin's RegExpr is all in one file: RegExpr.pas therefore I

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

2011-08-29 Thread Ludo Brands
Something went wrong with the commit. The rename worked but the new regex.pp There is no new regex.pp, I did not modify this file, it is still Joost's version. Sorokin's RegExpr is all in one file: RegExpr.pas therefore I did not see a need to touch regex.pp And where is

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

2011-08-29 Thread Felipe Monteiro de Carvalho
ops... fixed in rev 18893 -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

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

2011-08-29 Thread Ludo Brands
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 =

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

2011-08-29 Thread Felipe Monteiro de Carvalho
Try rev 18900 I think I fixed all issues -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

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

2011-08-22 Thread Felipe Monteiro de Carvalho
@Joost, so, what do you think about renaming your unit to clear the namespace? Which name do you prefer? I propose: joostregexpr oldregexpr is messy because there is already a old/regexpr -- Felipe Monteiro de Carvalho ___ fpc-devel maillist -

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

2011-08-16 Thread Felipe Monteiro de Carvalho
On Tue, Aug 2, 2011 at 11:08 AM, Michael Van Canneyt mich...@freepascal.org wrote: If Florian agrees (if I'm correct, he wrote the old unit), we can move the old regexpr to oldregexpr, and move this one into its place. So, Florian, what do you think? thanks, -- Felipe Monteiro de Carvalho

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

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 10:53, schrieb Felipe Monteiro de Carvalho: On Tue, Aug 2, 2011 at 11:08 AM, Michael Van Canneyt mich...@freepascal.org wrote: If Florian agrees (if I'm correct, he wrote the old unit), we can move the old regexpr to oldregexpr, and move this one into its place. So, Florian,

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

2011-08-16 Thread michael . vancanneyt
On Tue, 16 Aug 2011, Florian Klämpfl wrote: Am 16.08.2011 10:53, schrieb Felipe Monteiro de Carvalho: On Tue, Aug 2, 2011 at 11:08 AM, Michael Van Canneyt mich...@freepascal.org wrote: If Florian agrees (if I'm correct, he wrote the old unit), we can move the old regexpr to oldregexpr, and

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

2011-08-02 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: 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:

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

2011-08-02 Thread Ludo Brands
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.

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

2011-08-02 Thread Vincent Snijders
2011/8/2 Ludo Brands ludo.bra...@free.fr: 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

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

2011-08-02 Thread Ludo Brands
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

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

2011-08-02 Thread Michael Van Canneyt
On Tue, 2 Aug 2011, Vincent Snijders wrote: 2011/8/2 Ludo Brands ludo.bra...@free.fr: 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

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

2011-08-02 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: 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

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

2011-08-02 Thread Michael Van Canneyt
On Tue, 2 Aug 2011, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: 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