Bill McCarthy wrote:

> \(an\_s\+\)\@<=file
> 
> is the first example in help for \@<=
> 
> Since \_s\+ should find one or more white space characters
> (including end-of-line characters), why doesn't this match
> when there is more than one end-of-line in the white space?
> 
> For example, this doesn't match:
> ----
> an
> 
> file
> ----
> 
> Substituting \zs for \@<= shows what I expected.

The \@<= item only looks one line back.  See the help about it.

-- 
hundred-and-one symptoms of being an internet addict:
176. You lie, even to user-friends, about how long you were online yesterday.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to