Fix regex so EDITOR=/usr/bin/vim works