improved random name generation using regexps