in reply to Re: Re: Capturing the nth word in a string
in thread Capturing the nth word in a string

The reason I used \s* not \s+ is, to make it also work for the last word, as there is no space after that one.
  • Comment on Re: Re: Re: Capturing the nth word in a string

Replies are listed 'Best First'.
Re: Re: Re: Re: Capturing the nth word in a string
by etcshadow (Priest) on Oct 29, 2003 at 22:09 UTC
    I think you misunderstand... \s not the same as \S.

    ------------
    :Wq
    Not an editor command: Wq