#6 Typo

closed-fixed
None
5
2009-06-14
2009-05-22
Li Xiao
No

In pattern.txt, line 642, "aap" should be "app" as in line 635.
Because " a.\{-}p\@!" will not match "aap" as a whole, but it will fist match "a" and then match "ap".

Discussion

  • Dan Sharp

    Dan Sharp - 2009-06-14

    Actually, the example as given in the text is correct, because it says it will match any of the examples not followed by a p. The given pattern can match aap and app as long as either is not followed by a p. Still, the text should be consistent with the example a few lines above. I corrected it for the website and will submit the change to the Vim documentation.

     
  • Dan Sharp

    Dan Sharp - 2009-06-14
    • assigned_to: nobody --> dwsharp
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks