- Regular Expressions tool (help wanted?)

From: [at]} <Gérard>
Date: Thu, 06 Apr 2006 18:18:20 +0200

----boundary-LibPST-iamunique-481376529_-_-
Content-type: text/plain

Greg,

>Two issues (or questions):
>1) the license for CpcRegul does not allow commercial use (PCRE doesn't have
>that limitation) -- really, this issue alone warrants coming up with an
>alternate solution.
>
>
It's not an issue. If some people are interested, I can change the
license of the API part of CpcRegul (and Babel) to LGPL.

>2) CpcRegul makes use of Babel, which has this in its documentation:
>
>
>>Babel is a meta compiler. From a language definition document, it builds
>>the tables of a compiler (lexical, syntactic and semantic) and store them
>>in a binary file. A special module, included in the final program, reads
>>this file and then can compile texts of the language.

>>
>>
>
>That sounds like it's good if you have 1 or 2 thing you'll be matching,
>given that it has to **create** binary files. But, if you want to use it all
>the time for big AND small things, then it sounds cumbersome. I've recently
>been using Ruby which has regular expressions built in, and it's nice to be
>able to do matching all the time with no thought.
>
>
In the case of CpcRegul, Babel writes nothing to disks. Intermediate
results are kept in main memory and the whole process is very fast. I've
been using it all the time with no thought for years.

>My sense was that it would be worth having a DLL interface generated for
>PCRE, and then write a couple wrapper functions that make it easy to use it
>frequently for big and small needs.
>
>
You can, of course, but CpcRegul is already here, reliable, fast and
written in Component Pascal.

Cheers.

Grard

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-481376529_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZT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