Hi,
The bug is described in the subject.
=====Bug Cause
This bug is caused by using '!~' to trim '-p' option, which will trim '-P' option too after 'set ignorecase' in vim.
=====Bug Fix Suggestion
use '!~#' instead of '!~' in s:TrimOption
gtags.vim
288 "
289 " Trim options to avoid errors.
290 "
291 function! s:TrimOption(option)
...
298 if c !~# '[cenpquv]'
...
304 endfunction
===
Thanks