diff options
| -rw-r--r-- | vis-motions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-motions.c b/vis-motions.c index 6111d3e..e62dc35 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -245,7 +245,7 @@ bool vis_motion(Vis *vis, enum VisMotion motion, ...) { case VIS_MOVE_SEARCH_BACKWARD: { const char *pattern = va_arg(ap, char*); - if (text_regex_compile(vis->search_pattern, pattern, REG_EXTENDED)) { + if (text_regex_compile(vis->search_pattern, pattern, REG_EXTENDED|REG_NEWLINE)) { vis_cancel(vis); goto err; } |
