4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: "Internal error" for ":echo matchstr('a', 'a\%[\&]')" (Mitanu
13 Solution: Inside "\%[]" detect \&, \| and \) as an error.
17 *** ../vim-7.1.182/src/regexp.c Sun Dec 9 19:25:35 2007
18 --- src/regexp.c Wed Jan 2 15:02:37 2008
24 ! * regbranch - one alternative of an | operator
26 * Implements the & operator.
33 ! * Handle one alternative of an | operator.
34 * Implements the & operator.
42 ! * regbranch - one alternative of an | or & operator
44 * Implements the concatenation operator.
51 ! * Handle one alternative of an | or & operator.
52 * Implements the concatenation operator.
63 EMSG_RET_NULL(_(e_internal)); /* Supposed to be caught earlier. */
68 * slow, we keep one allocated piece of memory and only re-allocate it when
69 * it's too small. It's freed in vim_regexec_both() when finished.
71 ! static char_u *reg_tofree;
72 static unsigned reg_tofreelen;
76 * slow, we keep one allocated piece of memory and only re-allocate it when
77 * it's too small. It's freed in vim_regexec_both() when finished.
79 ! static char_u *reg_tofree = NULL;
80 static unsigned reg_tofreelen;
83 *** ../vim-7.1.182/src/version.c Wed Jan 2 15:12:29 2008
84 --- src/version.c Wed Jan 2 15:33:52 2008
88 { /* Add new patch number below this line */
94 Not too long ago, unzipping in public was illegal...
96 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
97 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
98 \\\ download, build and distribute -- http://www.A-A-P.org ///
99 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///