Re: [pcre-dev] [Bug 620] Edition of pattern with readline

Kezdőlap
Üzenet törlése
Szerző: Nuno Lopes
Dátum:  
Címzett: Bob Rossi, 620
CC: pcre-dev
Tárgy: Re: [pcre-dev] [Bug 620] Edition of pattern with readline
>> I suppose it could be made conditional. I will look at this when I next
>> work on PCRE (not for a few weeks).
>
> That brings up a good point. If it's conditional, is it only GPL'd if
> the resulting binary had the readline stuff enabled?


sure. PHP is also licensed under a BSD-like license and you can compile it
with readline to get a PHP shell-like CLI interpreter. But that doesn't make
PHP GPL licensed or something like that.
Anyway, there is a drop-in replacement for readline which is (near) 100% API
compatible and is licensed under the BSD license. It's called Libedit.

Nuno