syntax/man.vim: manSubHeading is a bit too general?

2007-04-09 Thread Nikolai Weibull
The manSubHeading is defined as syn match manSubHeading "^\s\{3\}[a-z][a-z ]*[a-z]$" This will, however, match more lines than I think is intended. It will, for example, match the line \t returns are what are recorded and compared with the data git keeps where "\t" is a horizontal tabu

Re: syntax/man.vim: manSubHeading is a bit too general?

2007-04-09 Thread Charles E Campbell Jr
Nikolai Weibull wrote: The manSubHeading is defined as syn match manSubHeading "^\s\{3\}[a-z][a-z ]*[a-z]$" This will, however, match more lines than I think is intended. It will, for example, match the line \t returns are what are recorded and compared with the data git keeps where

Re: syntax/man.vim: manSubHeading is a bit too general?

2007-04-09 Thread Nikolai Weibull
On 4/9/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: Nikolai Weibull wrote: > The manSubHeading is defined as > > syn match manSubHeading "^\s\{3\}[a-z][a-z ]*[a-z]$" > > This will, however, match more lines than I think is intended. > Anyone have any insight into this issue?

Re: syntax/man.vim: manSubHeading is a bit too general?

2007-04-09 Thread Nikolai Weibull
On 4/9/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: In this case, by looking at syntax/man.vim, its: Gautam H. Mudunuri . Actually, this was actually the wrong maintainer. Gautam was the previous maintainer of this file. Nam SungHyun <[EMAIL PROTECTED]> maintains it now. nikolai

Re: syntax/man.vim: manSubHeading is a bit too general?

2007-04-09 Thread Ian Tegebo
On 4/9/07, Nikolai Weibull <[EMAIL PROTECTED]> wrote: The manSubHeading is defined as syn match manSubHeading "^\s\{3\}[a-z][a-z ]*[a-z]$" This will, however, match more lines than I think is intended. It will, for example, match the line \t returns are what are recorded and compared w

Re: syntax/man.vim: manSubHeading is a bit too general?

2007-04-09 Thread Nikolai Weibull
On 4/9/07, Ian Tegebo <[EMAIL PROTECTED]> wrote: On 4/9/07, Nikolai Weibull <[EMAIL PROTECTED]> wrote: > ^ \{3\}[a-z][a-z ]*[a-z]$ I hope nobody minds if I take this opportunity to ask a question about vim's pattern matching. After reading |pattern| I wonder if the following is more efficie