updated for version 7.4.554
Problem: Missing part of patch 7.4.519.
Solution: Copy back regprog after calling vim_regexec.
diff --git a/src/quickfix.c b/src/quickfix.c
index c8954cc..abb4a6e 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -592,6 +592,8 @@
restofline:
for ( ; fmt_ptr != NULL; fmt_ptr = fmt_ptr->next)
{
+ int r;
+
idx = fmt_ptr->prefix;
if (multiscan && vim_strchr((char_u *)"OPQ", idx) == NULL)
continue;
@@ -607,7 +609,9 @@
tail = NULL;
regmatch.regprog = fmt_ptr->prog;
- if (vim_regexec(®match, IObuff, (colnr_T)0))
+ r = vim_regexec(®match, IObuff, (colnr_T)0);
+ fmt_ptr->prog = regmatch.regprog;
+ if (r)
{
if ((idx == 'C' || idx == 'Z') && !multiline)
continue;