(get-end-position-by-bracket s start)
Find the ending position of expression starting from start position.
Find the ending position of expression starting from start position.
(get-expressions s)
Find all expressions starting from & and returns them in form: [{:start <start-pos> :end <end-pos> :expr <(f1 arg1 (f2 arg 2))> | <symbol>} ... ]
Find all expressions starting from & and returns them in form: [{:start <start-pos> :end <end-pos> :expr <(f1 arg1 (f2 arg 2))> | <symbol>} ... ]
(re-seq-pos re s)
Returns a lazy sequence of successive matches of pattern in string, using java.util.regex.Matcher.find(), each such match processed with re-groups and returns start and end positions
Returns a lazy sequence of successive matches of pattern in string, using java.util.regex.Matcher.find(), each such match processed with re-groups and returns start and end positions
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close