# HG changeset patch # User Bram Moolenaar # Date 1346850210 -7200 # Node ID a638ae0f1b0cc41d8d753d79503238f11215f3ea # Parent 5fb4134170670e1f5da4be661219a5bcde01a2dd updated for version 7.3.650 Problem: Completion after ":help \{-" gives an error message and messes up the command line. Solution: Cancel the tag search if the pattern can't be compiled. (Yasuhiro Matsumoto) diff --git a/src/tag.c b/src/tag.c --- a/src/tag.c +++ b/src/tag.c @@ -1443,6 +1443,8 @@ find_tags(pat, num_matches, matchesp, fl orgpat.len = p_tl; prepare_pats(&orgpat, has_re); + if (has_re && orgpat.regmatch.regprog == NULL) + goto findtag_end; #ifdef FEAT_TAG_BINS /* This is only to avoid a compiler warning for using search_info diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -720,6 +720,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 650, +/**/ 649, /**/ 648,