Patch 8.2.3883
Problem: Crash when switching to other regexp engine fails.
Solution: Check for regprog being NULL.
Files: src/ex_cmds.c
*** ../vim-8.2.3882/src/ex_cmds.c 2021-11-29 20:39:06.674101624 +0000
--- src/ex_cmds.c 2021-12-24 16:44:54.603682728 +0000
***************
*** 4975,4980 ****
--- 4975,4982 ----
// a match on this line?
match = vim_regexec_multi(®match, curwin, curbuf, lnum,
(colnr_T)0, NULL, NULL);
+ if (regmatch.regprog == NULL)
+ break; // re-compiling regprog failed
if ((type == 'g' && match) || (type == 'v' && !match))
{
ml_setmarked(lnum);
*** ../vim-8.2.3882/src/version.c 2021-12-24 12:02:38.638058816 +0000
--- src/version.c 2021-12-24 15:39:17.275991980 +0000
***************
*** 751,752 ****
--- 751,754 ----
{ /* Add new patch number below this line */
+ /**/
+ 3883,
/**/
--
From "know your smileys":
:-| :-| Deja' vu!
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///