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

29906Re: Searching for words that are repeated more than once consecutively

Expand Messages
  • Robert Montante
    Jul 3, 2002
    • 0 Attachment
      >Bram Moolenaar:
      > /\(\<\k\+\>\)\s\+\1
      >
      >Preben Peppe Guldberg:
      > /\(\<\k\+\>\)\s\+\1\>
      >
      >Gary Holloway:
      > /\(\<\k\+\>\)\(\_s\+\<\1\>\)\+

      Ummm... why are you guys all using the "\k" atom? Wouldn't "\w" make
      more sense?
      So here's my entry:
      /\(\<\w\+\>\)\_s*\1\>

      (This should match the first two words of a three-word repetition.)

      -bob,mon.
    • Show all 10 messages in this topic