emacs-devel
[Top][All Lists]
Advanced

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

Re: Inefficient code in reftex-index.el


From: Richard Stallman
Subject: Re: Inefficient code in reftex-index.el
Date: Wed, 08 Jun 2005 11:59:41 -0400

    Actually the only cases I can vaguely remember using the
    (/ (length (match-data)) 2) idiom didn't use the whole (match-data).
    They typically used the idiom in order to know *which* subgroup matched (of
    course it only works if you craft your regexp carefully).

Can't you tell that more easily by seeing if match-beginning returns nil?




reply via email to

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