On February 12, 2019 6:48:49 PM GMT+01:00, David Storrs 
<david.sto...@gmail.com> wrote:
>Actually, that raises a question:  Does Racket use the pcre library or
>does it reinvent the wheel?  If it uses pcre then why not make all the
>features available?

My goodness. Perl isn't the One True Way of regular expressions, nor is pcre 
even the canonical Perl-style regexp implementation.

That said, if you've invested a lot of effort in learning the corners of Perl 
re, I can understand wanting to have a compatible system available. It's 
powerful and well known. The good news is that one of if not the best 
implementation of Perl-style re exists in Lisp, in cl-ppcre. It was at one 
point the fastest by a factor of 2. These days I think Perl and pcre have 
improved their performance to basically catch up.

Porting it to Racket wouldn't be especially difficult. Anyone with an interest 
in Racket and an attachment to Perl-style regexp should just do it. And update 
its interface. Racket should have an even more convenient integration than CL 
(library but why not also a lang).

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to