Skip to content

Commit

Permalink
Added + and ? as regex special characters (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Donato authored and tpope committed Nov 12, 2016
1 parent 0d63168 commit 05c7d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/abolish.vim
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ endfunction
" Searching {{{1

function! s:subesc(pattern)
return substitute(a:pattern,'[][\\/.*~%()&]','\\&','g')
return substitute(a:pattern,'[][\\/.*+?~%()&]','\\&','g')
endfunction

function! s:sort(a,b)
Expand Down

0 comments on commit 05c7d31

Please sign in to comment.