update spec and code to allow any non-word characters between version and date