why not self.db_regex.match(db):?