Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (re-pred re)
Turns a predicate function on strings (text nodes) into a predicate-step usable in selectors.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:248 top

(defn re-pred 
 "Turns a predicate function on strings (text nodes) into a predicate-step usable in selectors."
 [re]
  (text-pred #(re-matches re %)))
Vars in net.cgrand.enlive-html/re-pred: defn re-matches
Used in 0 other vars

Comments top

No comments for re-pred. Log in to add a comment.