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

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification 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: OpenAssigned to: None
Status: None

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 421 here (basic anti-spam test):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup