Clojure's regex functions are built on top of Java's and Java's regex support is built on the CharSequence abstraction, not String as we normally think of them. You could adapt files to CharSequence without much trouble. I think this approach would keep the memory requirements to a minimum.
On Monday, August 12, 2013 4:25:15 PM UTC-7, JvJ wrote: > > Is there a way to do a regex search over an entire file without loading > the file into memory? > -- -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.