bug-texinfo
[Top][All Lists]
Advanced

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

[bug #22295] regex isearch results inconsistent


From: Karl Berry
Subject: [bug #22295] regex isearch results inconsistent
Date: Tue, 12 Feb 2008 16:53:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7

URL:
  <http://savannah.gnu.org/bugs/?22295>

                 Summary: regex isearch results inconsistent
                 Project: texinfo - GNU documentation system
            Submitted by: karl
            Submitted on: Tuesday 02/12/2008 at 08:53
                Category: info
                 Release: 4.11+dev
                Priority: 5 - Normal
                Severity: 3 - Normal
              Item Group: bug
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
                  Status: None
         Discussion Lock: Any

    _______________________________________________________

Details:

Date: Mon, 11 Feb 2008 21:34:01 +0100
From: Ralf Wildenhues <address@hidden>
To: Karl Berry <address@hidden>
Cc: address@hidden
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'.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22295>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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