This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-19
Channels
- # aleph (11)
- # aws (1)
- # beginners (14)
- # bitcoin (1)
- # boot (41)
- # cider (6)
- # cljs-dev (1)
- # cljsrn (13)
- # clojure (138)
- # clojure-italy (10)
- # clojure-nl (1)
- # clojure-poland (2)
- # clojure-russia (62)
- # clojure-sg (2)
- # clojure-spec (31)
- # clojure-uk (51)
- # clojurescript (109)
- # core-matrix (1)
- # core-typed (1)
- # cursive (63)
- # datomic (10)
- # emacs (9)
- # euroclojure (1)
- # hoplon (112)
- # immutant (16)
- # jobs (2)
- # lumo (5)
- # off-topic (14)
- # om (54)
- # onyx (17)
- # parinfer (23)
- # pedestal (2)
- # re-frame (41)
- # ring-swagger (23)
- # spacemacs (9)
- # specter (10)
- # uncomplicate (5)
- # vim (1)
how can i go about using the newest (non-stable?) version of clojurescript that includes the nodejs changes? it looks like the releases on github:clojure/clojurescript and clojars are only the stable ones (<= 1.9.671)
You checkout the ClojureScript project then run ./script/build
(see here https://clojurescript.org/community/building). That will build ClojureScript and then put the jar in your local maven repo.
perfect! thanks @spinningtopsofdoom
Any regex experts on? I'm trying to capture text between two specific patterns. I get problems where the second pattern is repeated.
I've tried (re-find #"(?<=One).*(?=Three)" "One Two Three Three")
hoping to get " Two ", but I get " Two Three " instead.
Is there a better way to express "All text between some-pattern-1 and the first subsequent occurrence of some-pattern-2"?
@nathansmutz Sounds like you need to make the .*
non-greedy?
(i.e., .*?
)
@seancorfield Thanks! That's just what I needed. Wow, the ? operator is super overloaded.
Hey guys, may you help me again? I need to apply functionA to all but the last element of a map, then, to the last I will apply functionB... Any tips?
what is the “last element” in a map?
are you aware that maps are not ordered?
or are you talking about calling the map function?