Use regexp for version

A regular expression can now be specified as matching string. This
allows to authorize more complex things and for example allowing
two kind of clients '(CLA|CLB)'.