Relax regexp for class name in result role to allow git or svn version numbering