Lisp HUG Maillist Archive

RE Matching...

Hi,

I just re-read Henry Baker's paper on Meta. I am at a loss to see how this is any different in principal, and it may possibly be less efficient, than Edi's ppcre? Granted, some portions of Meta can be extended to non-regular syntax processing like context-free grammars and such. But for syntactic input lexemes, like numbers in various flavors, aren't all of these just RE's ?

Am I missing something here?

Dr. David McClain
Chief Technical Officer
Refined Audiometrics Laboratory
4391 N. Camino Ferreo
Tucson, AZĀ  85750

email: dbm@refined-audiometrics.com
phone: 1.520.390.3995
web: http://www.refined-audiometrics.com



Re: RE Matching...

On Fri, Mar 20, 2009 at 5:17 PM, David McClain
<dbm@refined-audiometrics.com> wrote:

> Am I missing something here?

Some Lispers think that regular expressions aren't politically correct... :)

Edi.


Re: RE Matching...


On Mar 20, 2009, at 22:17 , David McClain wrote:

> Hi,
>
> I just re-read Henry Baker's paper on Meta. I am at a loss to see  
> how this is any different in principal, and it may possibly be less  
> efficient, than Edi's ppcre? Granted, some portions of Meta can be  
> extended to non-regular syntax processing like context-free
> grammars and such.

Not really.... I tried that and it gets very ugly very soon.

> But for syntactic input lexemes, like numbers in various flavors,  
> aren't all of these just RE's ?
>
> Am I missing something here?

Stick with CL-PPCRE.  At least you know what it can and cannot do.

Cheers
--
Marco







>
> Dr. David McClain
> Chief Technical Officer
> Refined Audiometrics Laboratory
> 4391 N. Camino Ferreo
> Tucson, AZ  85750
>
> email: dbm@refined-audiometrics.com
> phone: 1.520.390.3995
> web: http://www.refined-audiometrics.com
>
>
>

--
Marco Antoniotti



Updated at: 2020-12-10 08:41 UTC