[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete text block with regexp

From: Stefan Monnier
Subject: Re: delete text block with regexp
Date: Mon, 17 Nov 2003 15:23:52 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>> Shouldn't a good regex implementation be able to optimize the
>>> problem away in simple cases like this?
>> Of course.  Patch (or package) welcome,
> Er, but isn't Emacs' regex engine written in C? Yuk! I prefer writing
> my software in Lisp... :)

But you can write the optimization in elisp, as is done in regexp-opt.
It won't be automatically used for all regexps, but it might be a good
thing if your optimization takes time.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]