如何逃避"*"到"\*"Clojure中?似乎无法让它工作:
(s/replace "A*B" #"*" "*")产生 "A*B"(当然)
(s/replace "A*B" #"*" "\*") 失败: Unsupported escape character: *
(s/replace "A*B" #"*" "\\*")又产生 "A*B"了!
(s/replace "A*B" #"*" "\\\*")失败了:Unsupported escape character: *再次!
(s/replace "A*B" #"\\\\*" "*") 产生 "A\\*B"
我不能让它产生A\*B
任何想法?谢谢