[vim] Add pcre option, expose option API