bugtexinfo - GNU documentation system - Bugs: bug #22295, regex isearch results inconsistent

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #22295: regex isearch results inconsistent

Submitted by:  Karl Berry <karl>
Submitted on:  Tue 12 Feb 2008 04:53:23 PM UTC  
 
Category: infoRelease: 4.11+dev
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: bugPrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: Fixed

Thu 24 Feb 2011 04:58:25 PM UTC, comment #2:

Lacking more input, I guess I'll mark this as closed since it looks like Sergey fixed it.

Karl Berry <karl>
Project Administrator
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.

Karl Berry <karl>
Project Administrator
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'.

Karl Berry <karl>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 24 Feb 2011 04:58:25 PM UTCkarlOpen/ClosedOpen=>Closed
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1