mirror of https://github.com/logseq/logseq
fix: alias support chinese comma
parent
87f31c1b9f
commit
fdd3782ba2
|
@ -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?)
|
||||
|
|
Loading…
Reference in New Issue