summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-02 21:13:25 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-02 21:13:25 +0200
commite8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879 (patch)
tree0101dc0b69343972a82db39af16612334fbc0a8d /src/search.c
parent2c869deeb7658b6b02e525ff9412fc4a0c968688 (diff)
downloadvim-git-e8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879.tar.gz
patch 8.2.0502: Vim9: some code is not testedv8.2.0502
Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 2005b7901..95a27f867 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1312,7 +1312,7 @@ do_search(
* If there is a matching '/' or '?', toss it.
*/
ps = strcopy;
- p = skip_regexp(pat, search_delim, (int)p_magic, &strcopy);
+ p = skip_regexp_ex(pat, search_delim, (int)p_magic, &strcopy, NULL);
if (strcopy != ps)
{
// made a copy of "pat" to change "\?" to "?"