On Tue, Aug 30, 2011 at 10:22 PM, Florian Klämpfl <[email protected]> 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 said it doesn't even support most POSIX, so it didn't look very useful? 2> Most of Joost's code is in regex.pp which was not changed, not in oldregexpr.pp 3> Compatibility with Delphi projects which use regexpr.pas where it means Sorokin's RegExpr (I've already found a couple of those only in projects which I develop, I don't know if it was included in Delphi, but I think it is possible because I found some projects which use it but don't have it in the sources) 4> Beginners would most likely try to use regexpr.pas which has the most simple name, they are better off trying to use the Sorokin version. 5> Benjamin Rosseax regexpr is a new invention, not something well stablished and widely used like the Sorokin unit (even Lazarus uses the Sorokin version), so I recommend naming it something like benjaminregexpr or something like that. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
