[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colon in index items
From: |
Eli Zaretskii |
Subject: |
Re: Colon in index items |
Date: |
Mon, 18 Mar 2002 18:19:10 +0200 (IST) |
On Mon, 18 Mar 2002, Karl Berry wrote:
> For instance, consider this index entry from the autoconf manual, which
> is currently misparsed by both Info and Emacs:
> * @%:@: Quadrigraphs.
>
> A regular expression such as (egrep syntax for simplicity):
> ^\* (.*)( <[0-9]>*)?:[ \t]*(.*)\.$
>
> will end up with \1 being @%:@ (the index entry name)
> and \3 being Quadrigraphs (the node name).
Two problems:
(a) The stand-alone Info doesn't use regular expressions to parse
references;
(b) You could have more than one colon in a row (happens a lot in C++,
for example).
The possibility of parsing references from the end was raised in the past
(IIRC). It works better in some cases, but fails in others.
- Re: Colon in index items, (continued)
- Re: Colon in index items, Eli Zaretskii, 2002/03/17
- Re: Colon in index items, Richard Stallman, 2002/03/18
- Re: Colon in index items, Eli Zaretskii, 2002/03/18
- Re: Colon in index items, Richard Stallman, 2002/03/19
- Re: Colon in index items, Eli Zaretskii, 2002/03/19
Re: Colon in index items, Karl Berry, 2002/03/16
Re: Colon in index items, Karl Berry, 2002/03/18
- Re: Colon in index items,
Eli Zaretskii <=
Re: Colon in index items, Karl Berry, 2002/03/18
Re: Colon in index items, Karl Berry, 2002/03/18
Re: Colon in index items, Karl Berry, 2002/03/18
Re: Colon in index items, Karl Berry, 2002/03/19