[fpc-pascal] regex vs synregexpr unit

Joost van der Sluis joost at cnoc.nl
Sat Jun 12 12:26:16 CEST 2010


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, 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.

Bug-report numbers? ;)

As far as I know, the fcl-version follows the regex standard exactly and
completely. But the synedit version doesn't. You could try to run the
regexpr-tests from the fcl with the synedit version, see how it works.

But there are a lot of additions and regexp-dialect out there.

I thought that the main difference between the synedit regex and the
fcl-regex, is that the synedit version also supports the 'usual' search
patterns like '*'. 

Joost.




More information about the fpc-pascal mailing list