I have this code to replace all store's name is ABC (or Abc ...) to XYZ
(def str1 "ABC store of JOHN")
(str/replace (str/lower-case str1) #"abc" "XYZ")
// output: XYZ store of john
// expected: XYZ store of JOHN
I don't want to lowercase all the string like that.
But in Clojure, it can't use the regex /abc/i
with i flag for ignore case sensitive like other languages.
What kind of clojure regex or clojure lib support case sensitive?