Sat 19 Feb 2011 04:41:31 PM UTC, comment #1:
Ralf, getting back to this info regex search bug from a couple years ago, can you clarify? The bug is that
info Autoconf
C-s a[u]
finds the second occurrence of "Autoconf" in the Autoconf top node? I can't reproduce that any more with the current CVS sources; it's not improbable that Sergey fixed it in the course of other things.
Please confirm/deny. Thanks.
|
Tue 12 Feb 2008 04:53:23 PM UTC, original submission:
Date: Mon, 11 Feb 2008 21:34:01 +0100
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: Karl Berry <karl@freefriends.org>
Cc: -unavailable-
Subject: Re: info: interactive search and regex patterns
Hi Karl,
- Karl Berry wrote on Mon, Feb 11, 2008 at 05:48:21PM CET:
> it is not possible to use, say, backslash or brackets to
> escape regex-active characters: `a\.', or `a[.]'.
>
> I think this is somewhat fixed now. The messages are not optimal, and
> the searching seemed quite slow sometimes, but I don't want to spend
> more time on it now. (As always, better patches welcome from anyone
> interested in working on Info.)
Ok. The partial (and thus invalid) regexes still rightly cause a search
failure (and since they search the whole info node, they are slow),
but once completed, they seem to almost do the right thing,
I only find one small difference from what I would expect:
Say, the first occurrence of `a' in the info node is followed by
`utoconf'. Then, right after `info Autoconf', the sequences
/a[u]RETURN
R C^s au
each find the first occurrence of `au', while the sequence
C^s a[u]
finds the second occurrence of `au'.
|