fix: alias support chinese comma

pull/645/head
Tienson Qin 2020-11-05 23:50:39 +08:00
parent 87f31c1b9f
commit fdd3782ba2
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@
(defn- sep-by-quote-or-space-or-comma
[s]
(when s
(let [comma? (re-find #"," s)]
(let [comma? (re-find #"[,|]+" s)]
(some->>
(string/split s #"[\"|\,]{1}")
(string/split s #"[\"|\,|]{1}")
(remove string/blank?)
(map (fn [s]
(if (and (not comma?)