removing regex_db class