auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to reftex/lisp/reftex-cite


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to reftex/lisp/reftex-cite.el, v
Date: Sat, 07 Jun 2008 14:19:07 +0200

* David Kastrup (2008-06-07) writes:

> Ralf Angeli <address@hidden> writes:
>
>> +  (reftex-remove-if (lambda (x) (or (string-match "^[\"{]" x)
>> +                                (string-match "^[0-9]+$" x)))
>> +                ;; get list of values, discard keys
>
> I think it could be better to use a single string-match with
> alternatives here: that way the regexp cache gets utilized better.

Thanks for the hint.  I changed the code accordingly.

-- 
Ralf




reply via email to

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