Skip to content

Commit 7b3a739

Browse files
committed
fix(utils): case sensitive very magic (#2669)
1 parent a755aba commit 7b3a739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ end
249249
function M.regex_to_magic(str)
250250
-- Convert regex to "very magic" pattern, basically a regex
251251
-- with special meaning for "%=&<>~", `:help /magic`
252-
return [[\v]] .. str:gsub("([%%=&<>])", [[\%1]])
252+
return [[\v\C]] .. str:gsub("([%%=&<>])", [[\%1]])
253253
-- searching for @ in very magic needs [@]
254254
:gsub("([@])", "[%1]")
255255
end

0 commit comments

Comments
 (0)