From bcbaae5ef5397d6d9022fbfea7b73e6ccb8dbce9 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Thu, 16 Nov 2023 22:32:40 -0800 Subject: [PATCH] #514 relax rules again --- src/honey/sql.cljc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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),