Fork me on GitHub
#slack-help
<
2024-01-29
>
Anders Corlin10:01:53

#cuerdas string library doesn't have an own channel here. Just found that latest versions 2023.10.15-405 & 407 consider capital E and Q as white space ... is there any other channel here that could be used to warn others for those versions?

(str/trim "E is white space")
=> "is white space"

Anders Corlin10:01:58

• Add performance improvement for default case of trim, rtrim and ltrim (arity 1) now has the regexp:

#"^[\Q\Q

	 \E\\E\Q\E]+|[\Q\Q

	 \E\\E\Q\E]+$"
which seems to be wrong.

2
andy.fingerhut18:01:58

Are you talking about the built-in namespace clojure.string and its trim function? Or something else?

seancorfield18:01:05

@U05Q6BCP6DV The best approach is to create issues on that GH repo with examples of the bugs -- that way others will be able to see the issues for themselves.

seancorfield18:01:40

(which I see you've already done -- so that's good)

seancorfield18:01:23

You could also post in #C093UFM4M which is where most of that libraries users here hang out I suspect.

🙏 1