This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-20
Channels
- # announcements (1)
- # architecture (14)
- # asami (21)
- # babashka (1)
- # beginners (44)
- # biff (6)
- # calva (24)
- # clojure (16)
- # clojure-europe (12)
- # clojurescript (32)
- # cursive (23)
- # datascript (5)
- # honeysql (8)
- # hyperfiddle (1)
- # malli (1)
- # nextjournal (34)
- # nrepl (4)
- # off-topic (64)
- # re-frame (12)
- # reagent (1)
- # releases (2)
- # reveal (41)
- # shadow-cljs (137)
- # spacemacs (4)
- # xtdb (5)
the dehyphen
docstring mentions There's probably a faster solution. I don't know if javascript supports lookahead matches, but this regex is ~2x faster (str/replace s #"(?!\w)-(?=\w)" " ")
@UK0810AQ2 can you open a ticket about that so I don't forget?
Gladly. Was hoping exactly for a reply directing me towards the best place to leave it I can PR it, too, if you'd like
BTW, I think I figured out out to separate the string bashing from parsing the expression
Sure, PR is fine. Make sure you run the ci
tests so the docs and cljs are all tested -- and perhaps make sure there's at least one test that verifies multi-part-names still work.
But if you don't want to go to that effort, just an issue is fine too.
Thanks @UK0810AQ2 -- I'll check the cljs stuff as well.