summaryrefslogtreecommitdiff
path: root/src/ex_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_eval.c')
-rw-r--r--src/ex_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c
index f0f42d224..1523d8f17 100644
--- a/src/ex_eval.c
+++ b/src/ex_eval.c
@@ -1551,7 +1551,7 @@ ex_catch(eap)
}
save_cpo = p_cpo;
p_cpo = (char_u *)"";
- regmatch.regprog = vim_regcomp(pat, TRUE);
+ regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING);
regmatch.rm_ic = FALSE;
if (end != NULL)
*end = save_char;