This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-09
Channels
- # aleph (21)
- # architecture (5)
- # boot (25)
- # cider (1)
- # cljs-dev (115)
- # clojure (59)
- # clojure-brasil (3)
- # clojure-dev (4)
- # clojure-italy (20)
- # clojure-nl (2)
- # clojure-portugal (6)
- # clojure-russia (12)
- # clojure-spec (43)
- # clojure-uk (37)
- # clojurescript (76)
- # datomic (123)
- # emacs (3)
- # graphql (2)
- # hoplon (5)
- # jobs-discuss (1)
- # jobs-rus (4)
- # keechma (7)
- # lein-figwheel (13)
- # leiningen (7)
- # lumo (2)
- # off-topic (17)
- # om (6)
- # onyx (26)
- # parinfer (19)
- # planck (2)
- # re-frame (80)
- # reagent (9)
- # ring (1)
- # spacemacs (45)
- # testing (1)
- # vim (28)
Can anyone come up with a regex for rg
(ripgrep) or ag
(the silver searcher) that searches for the lisp-word "time"? What I mean is this. When I do rg -w time
(`-w` meaning full word), it'll find start-time
, time-period
, and foo-time-bar
as well. Instead I want to exclude those hyphenated matches. So essentially I want to change word boundaries to exclude -
, which is a valid word char in lisp.
This is the regex syntax supported by rg
: https://doc.rust-lang.org/regex/regex/index.html#syntax
Hm it looks like rg '(?:^|[^\w-])time(?:[^\w-]|$)'
does what I want
JAVA 9 RC-1 avaible http://mail.openjdk.java.net/pipermail/jdk9-dev/2017-August/005940.html
Not sure.. isn't in http://openjdk.java.net/projects/jdk9/
Jigsaw = module system, and yeah. I honestly hope it doesn't gain any traction. It's a convoluted mess.
I fully expect a large number of Java / Saw memes if they don’t exist yet.
@koz -- re: the gist you posted in announcements (https://clojurians.slack.com/archives/C06MAR553/p1502304023221137): what does this give you over just doing (js/console.log my-data-structure)
? Left a couple of comments on the gist asking about that as well.
@eggsyntax: The cinspect
function is meant to be run from Clojure (not ClojureScript) so that you can view output of large data structures in the Chrome inspector that reside on the JVM
np! Yeah I really liked how nice viewing data was in CLJS running js/console.log
and wanted that in a Clojure environment
:thumbsup: totally, cool stuff 🙂. I deleted the github comments since you were kind enough to answer here.