Patch 8.2.4592

1,523 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 19, 2022, 7:32:15 AM3/19/22
to vim...@googlegroups.com

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 -- 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 ///
Reply all
Reply to author
Forward
0 new messages