#514 relax rules again

This commit is contained in:
Sean Corfield 2023-11-16 22:32:40 -08:00
parent 4a7d46dd1f
commit bcbaae5ef5

View file

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