improve alternate regex for db name match