[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

regexp unlimited: Ruby's vs Oniguruma

Simon Strandgaard

11/13/2003 10:23:00 PM

AFAIK Ruby's regexp engine is somewhat limited:
* GPL, restricts commercial use.
* i18n, cannot operate on UCS-4.
* input, no stream-iterators, only String class.


What are the limits of Oniguruma ?

How should your Ruby regexp engine be like ?


--
Simon Strandgaard
2 Answers

Daniel Carrera

11/17/2003 3:43:00 AM

0

Isn't Ruby a dual license? AFAIK Ruby can be used in propietary software (don't
say "commercial", say "propietary", there's a difference, MySQL is commercial and
GPL).

On Mon, Nov 17, 2003 at 10:55:40AM +0900, Simon Strandgaard wrote:
> AFAIK Ruby's regexp engine is somewhat limited:
> * GPL, restricts commercial use.
> * i18n, cannot operate on UCS-4.
> * input, no stream-iterators, only String class.
>
>
> What are the limits of Oniguruma ?
>
> How should your Ruby regexp engine be like ?
>
>
> --
> Simon Strandgaard

--
Daniel Carrera | Aleph-0 bottles of beer on the wall, Aleph-0 bottles
PhD student. | of beer. Take one down, pass it around, Aleph-0
Math Dept. | bottles of beer on the wall...
UMD. | http://mathworld.wolfram.com/Al...


Mark Wilson

11/17/2003 4:06:00 AM

0


On Nov 16, 2003, at 10:43 PM, Daniel Carrera wrote:

> Isn't Ruby a dual license? AFAIK Ruby can be used in propietary
> software (don't
> say "commercial", say "propietary", there's a difference, MySQL is
> commercial and
> GPL).

Ruby is dual license but it uses the GNU regular expressions library,
which are LGPL. One motivation for Oniguruma, as I understand it, is to
have a regular expressions implementation that can be dual licensed.
So, Ruby can be used in proprietary software that is distributed,
subject to the LGPL if the program uses the GNU regular expressions
library.

Regards,

Mark Wilson