Yes the regex that you have created matches with /services/data/v and you are correctly checking the version.