regexp unlimited: Ruby's vs Oniguruma

S

Simon Strandgaard

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 ?
 
D

Daniel Carrera

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).
 
M

Mark Wilson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,835
Latest member
KetoRushACVBuy

Latest Threads

Top