diff --git a/src/honey/sql.cljc b/src/honey/sql.cljc index f86d74b..cc99359 100644 --- a/src/honey/sql.cljc +++ b/src/honey/sql.cljc @@ -247,12 +247,8 @@ ) (def ^:private alphanumeric - "Basic regex for entities that do not need quoting. - Either: - * all numeric - * leading alpha followed by optional alphanumerics - (with _ allowed in either)" - #"^([0-9_]+|[A-Za-z_][A-Za-z0-9_]*)$") + "Basic regex for entities that do not need quoting." + #"^[A-Za-z0-9_]+$") (defn format-entity "Given a simple SQL entity (a keyword or symbol -- or string),