build: use re.match() rather than search()
build: use re.match() rather than search()

name_version_re is already supposed to match the beginning of the
string.

The purpose of this change is to clarify the intention of this property
method and optimize the code.

red-hat-storage/rhcephcompose,red-hat-storage/rhcephcompose