[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [patch] snipping redundant re-searching of regex
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [patch] snipping redundant re-searching of regex |
Date: |
Mon, 20 Apr 2015 21:28:31 +0200 |
On Tue, Apr 7, 2015, at 12:21, Benno Schulenberg wrote:
> I'm proposing to apply the below patch. I am unable to trigger the
> "This is the only occurrence" inside the 'if (ISSET(USE_REGEXP)...)'.
> And even if I were able, I think it is a superfluous re-searching of
> the regex that will necessarily result in a did-not-find.
Meanwhile I've been able to trigger it with regexes like ^\^+ and
\$+$, but not with anything a bit more involved. Anyway, it works
fine also without the extra code, so I've deleted it, SVN r5209.
Benno
--
http://www.fastmail.com - The way an email service should be