borkdude / grasp

Grep Clojure code using clojure.spec regexes
Eclipse Public License 1.0
242 stars 7 forks source link

False positive when searching for `(def <symbol?>)` #7

Closed borkdude closed 3 years ago

borkdude commented 3 years ago
$ script/run-cli $(clojure -Spath) -e "(s/cat :_ #{'def} :_ symbol?)"
...
jar:file:/Users/borkdude/.m2/repository/borkdude/edamame/0.0.11-alpha.15/edamame-0.0.11-alpha.15.jar!/edamame/impl/parser.cljc:94:1
(def non-match ::nil)
borkdude commented 3 years ago

I think this is a side effect of using edamame itself in grasp and that ::nil represents something special there.