How can I make regexp case insensitive?
Should I use function clojure/re-pattern for that by passing it a
second argument "Pattern.CASE_INSENSITIVE" (as described in
http://www.regular-expressions.info/java.html)?

Btw I noticed that function clojure/find-doc is currently also case
sensitive:

user=> (find-doc "prints")  ; returns only one function
-------------------------
clojure/time
([expr])
Macro
  Evaluates expr and prints the time it took.  Returns the value of
 expr.
nil

user=> (find-doc "documentation for") ; .. although there are more of
them
-------------------------
clojure/doc
([name])
Macro
  Prints documentation for a var or special form given its name
-------------------------
clojure/find-doc
([re-string])
  Prints documentation for any var whose documentation or name
 contains a match for re-string
nil

Thanks,
Lauri

--~--~---------~--~----~------------~-------~--~----~
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