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

Re: searching within already-matched strings

Expand Messages
  • Jürgen Krämer
    Hi, ... have a look at ... and try ... Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that
    Message 1 of 3 , Jul 31, 2009
    • 0 Attachment
      Hi,

      John Kirkpatrick wrote:
      >
      > i'm a bit of a vim novice, so sorry if this is a stupid question.
      >
      > how can i stop already-matched strings being excluded from the search
      > text for regexp matching?
      >
      > e.g. if i have the text aaabbbbbbaaa, and i search for \bbbbb, the last
      > b of the run of 6 is not matched, as the first 5 have been matched and
      > are therefore excluded from the remaining text to be searched.

      have a look at

      :help cpo-c

      and try

      :set cpoptions-=c

      Regards,
      Jürgen

      --
      Sometimes I think the surest sign that intelligent life exists elsewhere
      in the universe is that none of it has tried to contact us. (Calvin)

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.