apply regexpression to group results

In our environment, the resulting groupname contains complete LDAP information to the group objects. It would be nice to filter that extra information out using a regular expression. This would allow for more meaningful groupnames in devpi.