Loading ...
Sorry, an error occurred while loading the content.

Re: Regex for matching the section in vim help files

Expand Messages
  • Marco
    ... The following regex seems to do the job: v^.{-} s zs(.[^ ]+)* Marco
    Message 1 of 8 , Dec 25, 2012
    • 0 Attachment
      On 2012–12–25 Marco wrote:

      > The problem is to find a regular expression which matches the
      > section titles.

      The following regex seems to do the job:

      \v^.{-}\s\zs(.[^\ ]+)*

      Marco
    Your message has been successfully submitted and would be delivered to recipients shortly.