Fix broken regex for validating table and column names.