diff options
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c index 9d2d441fc4..e372dd44dc 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -2069,6 +2069,9 @@ vim_regsub_both( } clear_tv(&rettv); } + else if (substitute_instr != NULL) + // Execute instructions from ISN_SUBSTITUTE. + eval_result = exe_substitute_instr(); else eval_result = eval_to_string(source + 2, TRUE); |