Patch 8.2.4592
Problem:    Search continues after giving E1204.
Solution:   Return failure after giving E1204. (closes #9972)
Files:      src/regexp_nfa.c


*** ../vim-8.2.4591/src/regexp_nfa.c    2022-03-11 15:33:46.437387135 +0000
--- src/regexp_nfa.c    2022-03-19 11:29:22.109844648 +0000
***************
*** 1653,1660 ****
                            long_u tmp;
  
                            if (cur)
                                semsg(_(e_regexp_number_after_dot_pos_search),
!                                                                no_Magic(c));
                            tmp = n * 10 + (c - '0');
  
                            if (tmp < n)
--- 1653,1663 ----
                            long_u tmp;
  
                            if (cur)
+                           {
                                semsg(_(e_regexp_number_after_dot_pos_search),
!                                                                 no_Magic(c));
!                               return FAIL;
!                           }
                            tmp = n * 10 + (c - '0');
  
                            if (tmp < n)
*** ../vim-8.2.4591/src/version.c       2022-03-19 11:09:52.523730923 +0000
--- src/version.c       2022-03-19 11:30:19.457945704 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4592,
  /**/

-- 
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220319113210.16BD21C13E5%40moolenaar.net.

Raspunde prin e-mail lui