Re: [fpc-pascal] regex unit doesn't find matches???

2008-12-01 Thread Graeme Geldenhuys
On Mon, Dec 1, 2008 at 2:00 PM, Michalis Kamburelis <[EMAIL PROTECTED]> wrote: > > You should reset x, y within the loop (before each r.MatchString), not here. Ah, a stupid mistake! Thanks Michalis and Joost. Now my code works like a charm. :-) Regards, - Graeme - __

Re: [fpc-pascal] regex unit doesn't find matches???

2008-12-01 Thread Joost van der Sluis
Op maandag 01-12-2008 om 13:38 uur [tijdzone +0200], schreef Graeme Geldenhuys: > Hi, > > I'm using the following regular expression: 'foob.*r' > Calling MatchString() against each of the items in the stringlist, I > expected it to match 3 items. Instead it only matches the first item > and fail

Re: [fpc-pascal] regex unit doesn't find matches???

2008-12-01 Thread Michalis Kamburelis
Graeme Geldenhuys wrote: > Hi, > > I'm using the following regular expression: 'foob.*r' > Calling MatchString() against each of the items in the stringlist, I > expected it to match 3 items. Instead it only matches the first item > and fails all the rest. Why??? > > > --[ source

[fpc-pascal] regex unit doesn't find matches???

2008-12-01 Thread Graeme Geldenhuys
Hi, I'm using the following regular expression: 'foob.*r' Calling MatchString() against each of the items in the stringlist, I expected it to match 3 items. Instead it only matches the first item and fails all the rest. Why??? --[ source code ]--- sl := TStringL

Re: [fpc-pascal] Starting out with Free Pascal

2008-12-01 Thread Leonardo M . Ramé
That's a partial truth, it takes the same time to create basic screens/dialogs using FoxPro or data aware components with Lazarus, but the level of customization and flexibility you can reach using Lazarus is way ahead of FoxPro. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Mon, 1