VCS: Store QRegExp instead of recreating it on every cursor move

Change-Id: Id2eec876d84acb783e850d184a194b4d6a963259
Reviewed-by: Orgad Shaneh <orgads@gmail.com>