Current regexps misses some valid database names

underscores and dots are legal database names