# HG changeset patch # User Bram Moolenaar # Date 1327607906 -3600 # Node ID ded8f5add04c9477c47098a66991f971324787f2 # Parent 650a7975dfd05d32745fd3d02a2bcf5d1304b95c updated for version 7.3.420 Problem: "it" and "at" don't work properly with a dash in the tag name. Solution: Require a space to match the tag name. (Christian Brabandt) diff --git a/src/search.c b/src/search.c --- a/src/search.c +++ b/src/search.c @@ -3918,7 +3918,7 @@ again: curwin->w_cursor = old_pos; goto theend; } - spat = alloc(len + 29); + spat = alloc(len + 31); epat = alloc(len + 9); if (spat == NULL || epat == NULL) { @@ -3927,7 +3927,7 @@ again: curwin->w_cursor = old_pos; goto theend; } - sprintf((char *)spat, "<%.*s\\>\\%%(\\_[^>]\\{-}[^/]>\\|>\\)\\c", len, p); + sprintf((char *)spat, "<%.*s\\>\\%%(\\s\\_[^>]\\{-}[^/]>\\|>\\)\\c", len, p); sprintf((char *)epat, "\\c", len, p); r = do_searchpair(spat, (char_u *)"", epat, FORWARD, (char_u *)"", diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 420, +/**/ 419, /**/ 418,