emacs-devel
[Top][All Lists]
Advanced

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

Re: Possible problem with looking-back function


From: Andreas Röhler
Subject: Re: Possible problem with looking-back function
Date: Thu, 19 Aug 2010 08:09:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6

Am 19.08.2010 04:43, schrieb Davis Herring:
Shouldn't it return 1?
The algorithm searches backward until it finds a position from which there
is a match that extends to point.  Doing more would be quadratic

Hi,

that surprises me.
Check must be done against the string already found.
So workload should grow lineary resp. slightly ascending.

AFAIK exists a bug, resp. missing implementation in re-search-backward.

Cheers

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/



  in the
value of point (at least), so is considered too slow.

Davis





reply via email to

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