On Tuesday 02 December 2008 09:24, Chouser wrote:
> On Tue, Dec 2, 2008 at 11:03 AM, Randall R Schulz <[EMAIL PROTECTED]> 
wrote:
> > I was thinking it would be nice if (find-doc ...) accepted a
> > Pattern (in addition to the String it now accepts), thus allowing
> > #"RE pattern" regular expression pattern literals.
>
> +1
>
> "in addition to the String" is important

(ns rrs.docs)

(defn doc-find
 "Like find-doc but also accepts a java.util.regex.Pattern"
 [pat]
 (find-doc (.toString pat)))


Woo-Hoo!


RRS

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to